summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Hagander2007-10-10 11:50:07 +0000
committerMagnus Hagander2007-10-10 11:50:07 +0000
commitfb074439ae0004ff8772cc74cf6fd2ce081fad6b (patch)
tree86899dec5df0b56becd4b885c0c891c68eb22b40
parentea82ad6aff59a62b0f9261561a72fb7090274093 (diff)
Add missing codepage numbers for Windows.
Dave Page
-rw-r--r--src/port/chklocale.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/port/chklocale.c b/src/port/chklocale.c
index 5dbba73851c..02251f7fb0e 100644
--- a/src/port/chklocale.c
+++ b/src/port/chklocale.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/chklocale.c,v 1.4 2007/10/03 17:16:39 tgl Exp $
+ * $PostgreSQL: pgsql/src/port/chklocale.c,v 1.5 2007/10/10 11:50:07 mha Exp $
*
*-------------------------------------------------------------------------
*/
@@ -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"},