git.iko.soy/typeable/pandoc
on master help sign in
Updated man page and README.

Pandoc no longer respects locale, even when compiled by GHC 6.12.

commitfb201a5b46bb49aa57a8462d7ded8ea2ff76be81 authorJohn MacFarlane <jgm@berkeley.edu> dateThu 6 May 2010, 22:32 (16 years ago) parentd6dd5ff
2 files changed+3−6
README+1−3 man/man1/pandoc.1.md+2−3
README+1−3
@@ -116,9 +116,7 @@ Character encodings
116116-------------------
117117
118118All input is assumed to be in the UTF-8 encoding, and all output
119−is in UTF-8 (unless your version of pandoc was compiled using
120−GHC 6.12 or higher, in which case the local encoding will be used).
121−If your local character encoding is not UTF-8 and you use
119+is in UTF-8. If your local character encoding is not UTF-8 and you use
122120accented or foreign characters, you should pipe the input and output
123121through [`iconv`]. For example,
124122
man/man1/pandoc.1.md+2−3
@@ -53,9 +53,8 @@ markdown: the differences are described in the *README* file in
5353the user documentation. If standard markdown syntax is desired, the
5454`--strict` option may be used.
5555
56−Pandoc uses the UTF-8 character encoding for both input and output
57−(unless compiled with GHC 6.12 or higher, in which case it uses
58−the local encoding). If your local character encoding is not UTF-8, you
56+Pandoc uses the UTF-8 character encoding for both input and output.
57+If your local character encoding is not UTF-8, you
5958should pipe input and output through `iconv`:
6059
6160 iconv -t utf-8 input.txt | pandoc | iconv -f utf-8