summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2007-10-10 11:50:07 +0000
committerMagnus Hagander2007-10-10 11:50:07 +0000
commit4f1c8dea22c7ce5d3410d5b2edb0f882083a92fc (patch)
tree0a92483a1328852e30eb20181cb2e9e9fb021095
parentcc5cf1f49bb33a86745fdbb893365d6068101b7e (diff)
Add missing codepage numbers for Windows.
Dave Page
-rw-r--r--src/port/chklocale.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index d707bc7cbf..0dbe76f4ff 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -72,26 +72,32 @@ static const struct encoding_match encoding_match_list[] = {
{PG_UTF8, "UTF-8"},
{PG_UTF8, "utf8"},
+ {PG_UTF8, "CP65001"},
{PG_LATIN1, "ISO-8859-1"},
{PG_LATIN1, "ISO8859-1"},
{PG_LATIN1, "iso88591"},
+ {PG_LATIN1, "CP28591"},
{PG_LATIN2, "ISO-8859-2"},
{PG_LATIN2, "ISO8859-2"},
{PG_LATIN2, "iso88592"},
+ {PG_LATIN2, "CP28592"},
{PG_LATIN3, "ISO-8859-3"},
{PG_LATIN3, "ISO8859-3"},
{PG_LATIN3, "iso88593"},
+ {PG_LATIN3, "CP28593"},
{PG_LATIN4, "ISO-8859-4"},
{PG_LATIN4, "ISO8859-4"},
{PG_LATIN4, "iso88594"},
+ {PG_LATIN4, "CP28594"},
{PG_LATIN5, "ISO-8859-9"},
{PG_LATIN5, "ISO8859-9"},
{PG_LATIN5, "iso88599"},
+ {PG_LATIN5, "CP28599"},
{PG_LATIN6, "ISO-8859-10"},
{PG_LATIN6, "ISO8859-10"},
@@ -108,6 +114,7 @@ static const struct encoding_match encoding_match_list[] = {
{PG_LATIN9, "ISO-8859-15"},
{PG_LATIN9, "ISO8859-15"},
{PG_LATIN9, "iso885915"},
+ {PG_LATIN9, "CP28605"},
{PG_LATIN10, "ISO-8859-16"},
{PG_LATIN10, "ISO8859-16"},
@@ -132,18 +139,22 @@ static const struct encoding_match encoding_match_list[] = {
{PG_ISO_8859_5, "ISO-8859-5"},
{PG_ISO_8859_5, "ISO8859-5"},
{PG_ISO_8859_5, "iso88595"},
+ {PG_ISO_8859_5, "CP28595"},
{PG_ISO_8859_6, "ISO-8859-6"},
{PG_ISO_8859_6, "ISO8859-6"},
{PG_ISO_8859_6, "iso88596"},
+ {PG_ISO_8859_6, "CP28596"},
{PG_ISO_8859_7, "ISO-8859-7"},
{PG_ISO_8859_7, "ISO8859-7"},
{PG_ISO_8859_7, "iso88597"},
+ {PG_ISO_8859_7, "CP28597"},
{PG_ISO_8859_8, "ISO-8859-8"},
{PG_ISO_8859_8, "ISO8859-8"},
{PG_ISO_8859_8, "iso88598"},
+ {PG_ISO_8859_8, "CP28598"},
{PG_SJIS, "SJIS"},
{PG_SJIS, "PCK"},