diff options
author | John MacFarlane <jgm@berkeley.edu> | 2012-06-22 21:24:02 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2012-06-24 10:58:15 +0200 |
commit | cc39c313c5eeedf8bc1693e0d80a510891a7fc4d (patch) | |
tree | 41a2a5bd8f2b14700fc0c9365690afa34572a1c5 /src/Text/Pandoc/Parsing.hs | |
parent | c24b7991aa48c8628308ffddd22cee23e3126926 (diff) | |
download | pandoc-cc39c313c5eeedf8bc1693e0d80a510891a7fc4d.tar.gz |
Don't encode/decode file paths if base >= 4.5.
Prior to base 4.5 (and perhaps earlier - check), filepaths and command
line arguments were treated as unencoded lists of bytes, not unicode
strings, so we had to work around that by encoding and decoding
them. This commit adds CPP checks for base 4.5 that disable the
encoding/decoding.
Fixes a bug with multilingual filenames when pandoc was compiled
with ghc 7.4. Closes #540.
Diffstat (limited to 'src/Text/Pandoc/Parsing.hs')
0 files changed, 0 insertions, 0 deletions