diff options
author | duerst <duerst@localhost> | 2001-06-18 05:49:42 +0000 |
---|---|---|
committer | duerst <duerst@localhost> | 2001-06-18 05:49:42 +0000 |
commit | c9d88e350d3acad4fdd7d395691ab015cd3eb6ca (patch) | |
tree | db7d3258e788a5dd382532019b4621dbd94e84b9 /htdocs | |
parent | 9a314fee48c0d1e5c89b7f93ada472602efdaac5 (diff) | |
download | markup-validator-c9d88e350d3acad4fdd7d395691ab015cd3eb6ca.zip markup-validator-c9d88e350d3acad4fdd7d395691ab015cd3eb6ca.tar.gz markup-validator-c9d88e350d3acad4fdd7d395691ab015cd3eb6ca.tar.bz2 |
New file charset.cfg to map 'encoding'/'charset' parameters to iconv parameters.
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/config/charset.cfg | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/htdocs/config/charset.cfg b/htdocs/config/charset.cfg new file mode 100644 index 0000000..1189d9b --- /dev/null +++ b/htdocs/config/charset.cfg @@ -0,0 +1,60 @@ +# +# Mapping of 'charset' or 'encoding' parameter to conversion parameter +# +# $Id: charset.cfg,v 1.1 2001-06-18 05:49:42 duerst Exp $ +# +# this version for glibc iconv 2.1; change for other versions +# +# Syntax: +# +# charset/encoding ? result +# +# Note: charsets and results are lowercase, actions are uppercase +# +# ? indicates the action to take: +# I iconv: use result as input to iconv +# Note: use this also if iconv takes charset parameter directly +# X: frequent error, e.g. starting with x-; ask user to replace with result + +iso-8859-1 I iso-8859-1 +iso-8859-2 I iso-8859-2 +iso-8859-3 I iso-8859-3 +iso-8859-4 I iso-8859-4 +iso-8859-5 I iso-8859-5 +iso-8859-6 I iso-8859-6 +# implicit bidi, but character encoding is the same +iso-8859-6-i I iso-8859-6 +iso-8859-7 I iso-8859-7 +iso-8859-8 I iso-8859-8 +# implicit bidi, but character encoding is the same +iso-8859-8-i I iso-8859-8 +iso-8859-9 I iso-8859-9 +iso-8859-10 I iso-8859-10 +# iso-8859-11/12 don't exist yet +iso-8859-13 I iso-8859-13 +iso-8859-14 I iso-8859-14 +iso-8859-15 I iso-8859-15 +us-ascii I us-ascii +iso-2022-jp I iso-2022-jp +shift_jis I shift_jis +euc-jp I euc-jp +gb2312 I gb2312 +big5 I big5 +iso-2022-kr I iso-2022-kr +euc-kr I euc-kr +tis-620 I tis-620 +koi8-r I koi8-r +koi8-u I koi8-u +windows-1250 I cp1250 +windows-1251 I cp1251 +windows-1252 I cp1252 +windows-1253 I cp1253 +windows-1254 I cp1254 +windows-1255 I cp1255 +windows-1256 I cp1256 +windows-1257 I cp1257 +# windows-1258 I cp1258 # wait until normalization checked +macintosh I macintosh +x-mac-roman X macintosh +x-sjis X shift_jis +iso8859-1 X iso-8859-1 |