diff options
author | Tom Lane | 2007-10-17 15:24:04 +0000 |
---|---|---|
committer | Tom Lane | 2007-10-17 15:24:04 +0000 |
commit | 3291eccf1fce8159a35c752e0d30c646a2c3dc02 (patch) | |
tree | f8b702b74a6d5f9672c28463ab55eae6d97613fa | |
parent | e7ced28b395c283f3412a68981b9fff21f3b939f (diff) |
Add missing entry for PG_WIN1250 encoding, per gripe from Pavel Stehule.
Also enable translation of PG_WIN874, which certainly seems to have an
obvious translation now, though maybe it did not at the time this table's
ancestor was created.
-rw-r--r-- | src/port/chklocale.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c index 0dbe76f4ff..89f63f2e9e 100644 --- a/src/port/chklocale.c +++ b/src/port/chklocale.c @@ -123,6 +123,10 @@ static const struct encoding_match encoding_match_list[] = { {PG_KOI8R, "KOI8-R"}, {PG_KOI8R, "CP20866"}, + {PG_WIN866, "CP866"}, + {PG_WIN874, "CP874"}, + {PG_WIN1250, "CP1250"}, + {PG_WIN1251, "CP1251"}, {PG_WIN1252, "CP1252"}, {PG_WIN1253, "CP1253"}, {PG_WIN1254, "CP1254"}, @@ -130,11 +134,6 @@ static const struct encoding_match encoding_match_list[] = { {PG_WIN1256, "CP1256"}, {PG_WIN1257, "CP1257"}, {PG_WIN1258, "CP1258"}, -#ifdef NOT_VERIFIED - {PG_WIN874, "???"}, -#endif - {PG_WIN1251, "CP1251"}, - {PG_WIN866, "CP866"}, {PG_ISO_8859_5, "ISO-8859-5"}, {PG_ISO_8859_5, "ISO8859-5"}, |