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

Commit5c7f553

Browse files
committed
Update UTF-8 <--> EUC_KR, JOHAB, UHC mappings.
Patch contributed by Chuck McDevitt
1 parentd90984f commit5c7f553

File tree

6 files changed

+397
-11
lines changed

6 files changed

+397
-11
lines changed

‎src/backend/utils/mb/Unicode/euc_kr_to_utf8.map

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/euc_kr_to_utf8.map,v 1.4 2006/03/11 04:38:31 momjian Exp $ */
2-
3-
static pg_local_to_utf LUmapEUC_KR[ 8224 ] = {
1+
static pg_local_to_utf LUmapEUC_KR[ 8227 ] = {
42
{0xa1a1, 0xe38080},
53
{0xa1a2, 0xe38081},
64
{0xa1a3, 0xe38082},
@@ -164,6 +162,9 @@ static pg_local_to_utf LUmapEUC_KR[ 8224 ] = {
164162
{0xa2e3, 0xe38f82},
165163
{0xa2e4, 0xe38f98},
166164
{0xa2e5, 0xe284a1},
165+
{0xa2e6, 0xe282ac},
166+
{0xa2e7, 0xc2ae},
167+
{0xa2e8, 0xe389be},
167168
{0xa3a1, 0xefbc81},
168169
{0xa3a2, 0xefbc82},
169170
{0xa3a3, 0xefbc83},

‎src/backend/utils/mb/Unicode/johab_to_utf8.map

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/backend/utils/mb/Unicode/johab_to_utf8.map,v 1.2 2006/03/11 04:38:38 momjian Exp $ */
2-
3-
static pg_local_to_utf LUmapJOHAB[ 17046 ] = {
1+
static pg_local_to_utf LUmapJOHAB[ 17049 ] = {
42
{0x8444, 0xe384b3},
53
{0x8446, 0xe384b5},
64
{0x8447, 0xe384b6},
@@ -11387,6 +11385,9 @@ static pg_local_to_utf LUmapJOHAB[ 17046 ] = {
1138711385
{0xd9e3, 0xe38f82},
1138811386
{0xd9e4, 0xe38f98},
1138911387
{0xd9e5, 0xe284a1},
11388+
{0xd9e6, 0xe282ac},
11389+
{0xd9e7, 0xc2ae},
11390+
{0xd9e8, 0xe389be},
1139011391
{0xda31, 0xefbc81},
1139111392
{0xda32, 0xefbc82},
1139211393
{0xda33, 0xefbc83},

‎src/backend/utils/mb/Unicode/uhc_to_utf8.map

Lines changed: 191 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
static pg_local_to_utf LUmapUHC[17048 ] = {
1+
static pg_local_to_utf LUmapUHC[17237 ] = {
22
{0x8141, 0xeab082},
33
{0x8142, 0xeab083},
44
{0x8143, 0xeab085},
@@ -6028,6 +6028,7 @@ static pg_local_to_utf LUmapUHC[ 17048 ] = {
60286028
{0xa2e5, 0xe284a1},
60296029
{0xa2e6, 0xe282ac},
60306030
{0xa2e7, 0xc2ae},
6031+
{0xa2e8, 0xe389be},
60316032
{0xa341, 0xeca5b1},
60326033
{0xa342, 0xeca5b2},
60336034
{0xa343, 0xeca5b3},
@@ -12159,6 +12160,100 @@ static pg_local_to_utf LUmapUHC[ 17048 ] = {
1215912160
{0xc8fc, 0xed9e99},
1216012161
{0xc8fd, 0xed9e9b},
1216112162
{0xc8fe, 0xed9e9d},
12163+
{0xc9a1, 0xee8080},
12164+
{0xc9a2, 0xee8081},
12165+
{0xc9a3, 0xee8082},
12166+
{0xc9a4, 0xee8083},
12167+
{0xc9a5, 0xee8084},
12168+
{0xc9a6, 0xee8085},
12169+
{0xc9a7, 0xee8086},
12170+
{0xc9a8, 0xee8087},
12171+
{0xc9a9, 0xee8088},
12172+
{0xc9aa, 0xee8089},
12173+
{0xc9ab, 0xee808a},
12174+
{0xc9ac, 0xee808b},
12175+
{0xc9ad, 0xee808c},
12176+
{0xc9ae, 0xee808d},
12177+
{0xc9af, 0xee808e},
12178+
{0xc9b0, 0xee808f},
12179+
{0xc9b1, 0xee8090},
12180+
{0xc9b2, 0xee8091},
12181+
{0xc9b3, 0xee8092},
12182+
{0xc9b4, 0xee8093},
12183+
{0xc9b5, 0xee8094},
12184+
{0xc9b6, 0xee8095},
12185+
{0xc9b7, 0xee8096},
12186+
{0xc9b8, 0xee8097},
12187+
{0xc9b9, 0xee8098},
12188+
{0xc9ba, 0xee8099},
12189+
{0xc9bb, 0xee809a},
12190+
{0xc9bc, 0xee809b},
12191+
{0xc9bd, 0xee809c},
12192+
{0xc9be, 0xee809d},
12193+
{0xc9bf, 0xee809e},
12194+
{0xc9c0, 0xee809f},
12195+
{0xc9c1, 0xee80a0},
12196+
{0xc9c2, 0xee80a1},
12197+
{0xc9c3, 0xee80a2},
12198+
{0xc9c4, 0xee80a3},
12199+
{0xc9c5, 0xee80a4},
12200+
{0xc9c6, 0xee80a5},
12201+
{0xc9c7, 0xee80a6},
12202+
{0xc9c8, 0xee80a7},
12203+
{0xc9c9, 0xee80a8},
12204+
{0xc9ca, 0xee80a9},
12205+
{0xc9cb, 0xee80aa},
12206+
{0xc9cc, 0xee80ab},
12207+
{0xc9cd, 0xee80ac},
12208+
{0xc9ce, 0xee80ad},
12209+
{0xc9cf, 0xee80ae},
12210+
{0xc9d0, 0xee80af},
12211+
{0xc9d1, 0xee80b0},
12212+
{0xc9d2, 0xee80b1},
12213+
{0xc9d3, 0xee80b2},
12214+
{0xc9d4, 0xee80b3},
12215+
{0xc9d5, 0xee80b4},
12216+
{0xc9d6, 0xee80b5},
12217+
{0xc9d7, 0xee80b6},
12218+
{0xc9d8, 0xee80b7},
12219+
{0xc9d9, 0xee80b8},
12220+
{0xc9da, 0xee80b9},
12221+
{0xc9db, 0xee80ba},
12222+
{0xc9dc, 0xee80bb},
12223+
{0xc9dd, 0xee80bc},
12224+
{0xc9de, 0xee80bd},
12225+
{0xc9df, 0xee80be},
12226+
{0xc9e0, 0xee80bf},
12227+
{0xc9e1, 0xee8180},
12228+
{0xc9e2, 0xee8181},
12229+
{0xc9e3, 0xee8182},
12230+
{0xc9e4, 0xee8183},
12231+
{0xc9e5, 0xee8184},
12232+
{0xc9e6, 0xee8185},
12233+
{0xc9e7, 0xee8186},
12234+
{0xc9e8, 0xee8187},
12235+
{0xc9e9, 0xee8188},
12236+
{0xc9ea, 0xee8189},
12237+
{0xc9eb, 0xee818a},
12238+
{0xc9ec, 0xee818b},
12239+
{0xc9ed, 0xee818c},
12240+
{0xc9ee, 0xee818d},
12241+
{0xc9ef, 0xee818e},
12242+
{0xc9f0, 0xee818f},
12243+
{0xc9f1, 0xee8190},
12244+
{0xc9f2, 0xee8191},
12245+
{0xc9f3, 0xee8192},
12246+
{0xc9f4, 0xee8193},
12247+
{0xc9f5, 0xee8194},
12248+
{0xc9f6, 0xee8195},
12249+
{0xc9f7, 0xee8196},
12250+
{0xc9f8, 0xee8197},
12251+
{0xc9f9, 0xee8198},
12252+
{0xc9fa, 0xee8199},
12253+
{0xc9fb, 0xee819a},
12254+
{0xc9fc, 0xee819b},
12255+
{0xc9fd, 0xee819c},
12256+
{0xc9fe, 0xee819d},
1216212257
{0xcaa1, 0xe4bcbd},
1216312258
{0xcaa2, 0xe4bdb3},
1216412259
{0xcaa3, 0xe58187},
@@ -17046,5 +17141,99 @@ static pg_local_to_utf LUmapUHC[ 17048 ] = {
1704617141
{0xfdfb, 0xe7a6a7},
1704717142
{0xfdfc, 0xe7a880},
1704817143
{0xfdfd, 0xe7beb2},
17049-
{0xfdfe, 0xe8a9b0}
17144+
{0xfdfe, 0xe8a9b0},
17145+
{0xfea1, 0xee819e},
17146+
{0xfea2, 0xee819f},
17147+
{0xfea3, 0xee81a0},
17148+
{0xfea4, 0xee81a1},
17149+
{0xfea5, 0xee81a2},
17150+
{0xfea6, 0xee81a3},
17151+
{0xfea7, 0xee81a4},
17152+
{0xfea8, 0xee81a5},
17153+
{0xfea9, 0xee81a6},
17154+
{0xfeaa, 0xee81a7},
17155+
{0xfeab, 0xee81a8},
17156+
{0xfeac, 0xee81a9},
17157+
{0xfead, 0xee81aa},
17158+
{0xfeae, 0xee81ab},
17159+
{0xfeaf, 0xee81ac},
17160+
{0xfeb0, 0xee81ad},
17161+
{0xfeb1, 0xee81ae},
17162+
{0xfeb2, 0xee81af},
17163+
{0xfeb3, 0xee81b0},
17164+
{0xfeb4, 0xee81b1},
17165+
{0xfeb5, 0xee81b2},
17166+
{0xfeb6, 0xee81b3},
17167+
{0xfeb7, 0xee81b4},
17168+
{0xfeb8, 0xee81b5},
17169+
{0xfeb9, 0xee81b6},
17170+
{0xfeba, 0xee81b7},
17171+
{0xfebb, 0xee81b8},
17172+
{0xfebc, 0xee81b9},
17173+
{0xfebd, 0xee81ba},
17174+
{0xfebe, 0xee81bb},
17175+
{0xfebf, 0xee81bc},
17176+
{0xfec0, 0xee81bd},
17177+
{0xfec1, 0xee81be},
17178+
{0xfec2, 0xee81bf},
17179+
{0xfec3, 0xee8280},
17180+
{0xfec4, 0xee8281},
17181+
{0xfec5, 0xee8282},
17182+
{0xfec6, 0xee8283},
17183+
{0xfec7, 0xee8284},
17184+
{0xfec8, 0xee8285},
17185+
{0xfec9, 0xee8286},
17186+
{0xfeca, 0xee8287},
17187+
{0xfecb, 0xee8288},
17188+
{0xfecc, 0xee8289},
17189+
{0xfecd, 0xee828a},
17190+
{0xfece, 0xee828b},
17191+
{0xfecf, 0xee828c},
17192+
{0xfed0, 0xee828d},
17193+
{0xfed1, 0xee828e},
17194+
{0xfed2, 0xee828f},
17195+
{0xfed3, 0xee8290},
17196+
{0xfed4, 0xee8291},
17197+
{0xfed5, 0xee8292},
17198+
{0xfed6, 0xee8293},
17199+
{0xfed7, 0xee8294},
17200+
{0xfed8, 0xee8295},
17201+
{0xfed9, 0xee8296},
17202+
{0xfeda, 0xee8297},
17203+
{0xfedb, 0xee8298},
17204+
{0xfedc, 0xee8299},
17205+
{0xfedd, 0xee829a},
17206+
{0xfede, 0xee829b},
17207+
{0xfedf, 0xee829c},
17208+
{0xfee0, 0xee829d},
17209+
{0xfee1, 0xee829e},
17210+
{0xfee2, 0xee829f},
17211+
{0xfee3, 0xee82a0},
17212+
{0xfee4, 0xee82a1},
17213+
{0xfee5, 0xee82a2},
17214+
{0xfee6, 0xee82a3},
17215+
{0xfee7, 0xee82a4},
17216+
{0xfee8, 0xee82a5},
17217+
{0xfee9, 0xee82a6},
17218+
{0xfeea, 0xee82a7},
17219+
{0xfeeb, 0xee82a8},
17220+
{0xfeec, 0xee82a9},
17221+
{0xfeed, 0xee82aa},
17222+
{0xfeee, 0xee82ab},
17223+
{0xfeef, 0xee82ac},
17224+
{0xfef0, 0xee82ad},
17225+
{0xfef1, 0xee82ae},
17226+
{0xfef2, 0xee82af},
17227+
{0xfef3, 0xee82b0},
17228+
{0xfef4, 0xee82b1},
17229+
{0xfef5, 0xee82b2},
17230+
{0xfef6, 0xee82b3},
17231+
{0xfef7, 0xee82b4},
17232+
{0xfef8, 0xee82b5},
17233+
{0xfef9, 0xee82b6},
17234+
{0xfefa, 0xee82b7},
17235+
{0xfefb, 0xee82b8},
17236+
{0xfefc, 0xee82b9},
17237+
{0xfefd, 0xee82ba},
17238+
{0xfefe, 0xee82bb}
1705017239
};

‎src/backend/utils/mb/Unicode/utf8_to_euc_kr.map

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
static pg_utf_to_local ULmapEUC_KR[8224 ] = {
1+
static pg_utf_to_local ULmapEUC_KR[8227 ] = {
22
{0xc2a1, 0xa2ae},
33
{0xc2a4, 0xa2b4},
44
{0xc2a7, 0xa1d7},
55
{0xc2a8, 0xa1a7},
66
{0xc2aa, 0xa8a3},
77
{0xc2ad, 0xa1a9},
8+
{0xc2ae, 0xa2e7},
89
{0xc2b0, 0xa1c6},
910
{0xc2b1, 0xa1be},
1011
{0xc2b2, 0xa9f7},
@@ -188,6 +189,7 @@ static pg_utf_to_local ULmapEUC_KR[ 8224 ] = {
188189
{0xe28282, 0xa9fc},
189190
{0xe28283, 0xa9fd},
190191
{0xe28284, 0xa9fe},
192+
{0xe282ac, 0xa2e6},
191193
{0xe28483, 0xa1c9},
192194
{0xe28489, 0xa2b5},
193195
{0xe28493, 0xa7a4},
@@ -804,6 +806,7 @@ static pg_utf_to_local ULmapEUC_KR[ 8224 ] = {
804806
{0xe389b9, 0xa8ca},
805807
{0xe389ba, 0xa8cb},
806808
{0xe389bb, 0xa8cc},
809+
{0xe389be, 0xa2e8},
807810
{0xe389bf, 0xa2de},
808811
{0xe38e80, 0xa7c9},
809812
{0xe38e81, 0xa7ca},

‎src/backend/utils/mb/Unicode/utf8_to_johab.map

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
static pg_utf_to_local ULmapJOHAB[17046 ] = {
1+
static pg_utf_to_local ULmapJOHAB[17049 ] = {
22
{0xc2a1, 0xd9ae},
33
{0xc2a4, 0xd9b4},
44
{0xc2a7, 0xd967},
55
{0xc2a8, 0xd937},
66
{0xc2aa, 0xdca3},
77
{0xc2ad, 0xd939},
8+
{0xc2ae, 0xd9e7},
89
{0xc2b0, 0xd956},
910
{0xc2b1, 0xd94e},
1011
{0xc2b2, 0xdd99},
@@ -188,6 +189,7 @@ static pg_utf_to_local ULmapJOHAB[ 17046 ] = {
188189
{0xe28282, 0xdd9e},
189190
{0xe28283, 0xdd9f},
190191
{0xe28284, 0xdda0},
192+
{0xe282ac, 0xd9e6},
191193
{0xe28483, 0xd959},
192194
{0xe28489, 0xd9b5},
193195
{0xe28493, 0xdc34},
@@ -804,6 +806,7 @@ static pg_utf_to_local ULmapJOHAB[ 17046 ] = {
804806
{0xe389b9, 0xdcca},
805807
{0xe389ba, 0xdccb},
806808
{0xe389bb, 0xdccc},
809+
{0xe389be, 0xd9e8},
807810
{0xe389bf, 0xd9de},
808811
{0xe38e80, 0xdc59},
809812
{0xe38e81, 0xdc5a},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp