Skip to content

Commit 7780c41

Browse files
committed
Add CP949 as an alias for UHC encoding. pg_get_encoding_from_locale()
with kor locale on Windows can use the path. Reported by Hiroshi Inoue.
1 parent 2871b46 commit 7780c41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/port/chklocale.c

Lines changed: 2 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.15 2010/02/26 02:01:38 momjian Exp $
11+
* $PostgreSQL: pgsql/src/port/chklocale.c,v 1.16 2010/04/28 00:29:16 itagaki Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -172,6 +172,7 @@ static const struct encoding_match encoding_match_list[] = {
172172
{PG_GBK, "CP936"},
173173

174174
{PG_UHC, "UHC"},
175+
{PG_UHC, "CP949"},
175176

176177
{PG_JOHAB, "JOHAB"},
177178
{PG_JOHAB, "CP1361"},

0 commit comments

Comments
 (0)