summaryrefslogtreecommitdiffhomepage
path: root/cparser.1
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2008-12-15 13:58:02 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2008-12-15 13:58:02 +0100
commitf972547895d0931b7d80a5e5f78d16b79230833b (patch)
tree6cf50ff010e14eddd87082423ac3b113707e05a6 /cparser.1
parent4a5d897bfdede230b20cca777b2c90fe915cf9f2 (diff)
Make the input encoding selectable via −finput‐charset=. Currently suported are ISO-8859-1, ISO-8859-15 and UTF-8. The default is UTF-8 now (was ISO-8859-1).
[r24686]
Diffstat (limited to 'cparser.1')
-rw-r--r--cparser.129
1 files changed, 28 insertions, 1 deletions
diff --git a/cparser.1 b/cparser.1
index 1e2cbe8..5fa58cd 100644
--- a/cparser.1
+++ b/cparser.1
@@ -1,5 +1,5 @@
.\" Please adjust this date whenever revising the manpage.
-.Dd December 9, 2008
+.Dd December 15, 2008
.Dt CPARSER 1
.Sh NAME
.Nm cparser
@@ -21,6 +21,7 @@
.Op Fl D Ns Ar macro Ns Op Ar =defn
.Op Fl U Ns Ar macro
.Op Fl f Ar option
+.Op Fl finput-charset= Ns Ar encoding
.Op Fl b Ar option
.Op Fl l Ar library
.Op Fl o Ar outfile
@@ -228,6 +229,32 @@ Set a frontend or optimizer option.
Use
.Fl fhelp
to get a list of supported optimizer options.
+.It Fl finput-charset= Ns Ar encoding
+Select the encoding of the input.
+Supported value are
+.Cm ISO_8859-1:1987
+(aliases
+.Cm CP819 ,
+.Cm IBM819 ,
+.Cm ISO-8859-1 ,
+.Cm ISO8859-1 ,
+.Cm ISO_8859-1 ,
+.Cm csISOLatin1 ,
+.Cm iso-ir-100 ,
+.Cm l1
+and
+.Cm latin1 Ns
+),
+.Cm ISO-8859-15
+(aliases
+.Cm ISO8859-15 ,
+.Cm ISO_8859-15
+and
+.Cm Latin-9 Ns
+) and
+.Cm UTF-8
+(default).
+Case is ignored.
.It Fl b Ar option
Set a backend option.
Use