Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb07443

Browse files
committed
Add missing codepage numbers for Windows.
Dave Page
1 parentea82ad6 commitfb07443

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

‎src/port/chklocale.c

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/chklocale.c,v 1.4 2007/10/03 17:16:39 tgl Exp $
11+
* $PostgreSQL: pgsql/src/port/chklocale.c,v 1.5 2007/10/10 11:50:07 mha Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -72,26 +72,32 @@ static const struct encoding_match encoding_match_list[] = {
7272

7373
{PG_UTF8,"UTF-8"},
7474
{PG_UTF8,"utf8"},
75+
{PG_UTF8,"CP65001"},
7576

7677
{PG_LATIN1,"ISO-8859-1"},
7778
{PG_LATIN1,"ISO8859-1"},
7879
{PG_LATIN1,"iso88591"},
80+
{PG_LATIN1,"CP28591"},
7981

8082
{PG_LATIN2,"ISO-8859-2"},
8183
{PG_LATIN2,"ISO8859-2"},
8284
{PG_LATIN2,"iso88592"},
85+
{PG_LATIN2,"CP28592"},
8386

8487
{PG_LATIN3,"ISO-8859-3"},
8588
{PG_LATIN3,"ISO8859-3"},
8689
{PG_LATIN3,"iso88593"},
90+
{PG_LATIN3,"CP28593"},
8791

8892
{PG_LATIN4,"ISO-8859-4"},
8993
{PG_LATIN4,"ISO8859-4"},
9094
{PG_LATIN4,"iso88594"},
95+
{PG_LATIN4,"CP28594"},
9196

9297
{PG_LATIN5,"ISO-8859-9"},
9398
{PG_LATIN5,"ISO8859-9"},
9499
{PG_LATIN5,"iso88599"},
100+
{PG_LATIN5,"CP28599"},
95101

96102
{PG_LATIN6,"ISO-8859-10"},
97103
{PG_LATIN6,"ISO8859-10"},
@@ -108,6 +114,7 @@ static const struct encoding_match encoding_match_list[] = {
108114
{PG_LATIN9,"ISO-8859-15"},
109115
{PG_LATIN9,"ISO8859-15"},
110116
{PG_LATIN9,"iso885915"},
117+
{PG_LATIN9,"CP28605"},
111118

112119
{PG_LATIN10,"ISO-8859-16"},
113120
{PG_LATIN10,"ISO8859-16"},
@@ -132,18 +139,22 @@ static const struct encoding_match encoding_match_list[] = {
132139
{PG_ISO_8859_5,"ISO-8859-5"},
133140
{PG_ISO_8859_5,"ISO8859-5"},
134141
{PG_ISO_8859_5,"iso88595"},
142+
{PG_ISO_8859_5,"CP28595"},
135143

136144
{PG_ISO_8859_6,"ISO-8859-6"},
137145
{PG_ISO_8859_6,"ISO8859-6"},
138146
{PG_ISO_8859_6,"iso88596"},
147+
{PG_ISO_8859_6,"CP28596"},
139148

140149
{PG_ISO_8859_7,"ISO-8859-7"},
141150
{PG_ISO_8859_7,"ISO8859-7"},
142151
{PG_ISO_8859_7,"iso88597"},
152+
{PG_ISO_8859_7,"CP28597"},
143153

144154
{PG_ISO_8859_8,"ISO-8859-8"},
145155
{PG_ISO_8859_8,"ISO8859-8"},
146156
{PG_ISO_8859_8,"iso88598"},
157+
{PG_ISO_8859_8,"CP28598"},
147158

148159
{PG_SJIS,"SJIS"},
149160
{PG_SJIS,"PCK"},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp