File tree Expand file tree Collapse file tree 5 files changed +22
-21
lines changed Expand file tree Collapse file tree 5 files changed +22
-21
lines changed Original file line number Diff line number Diff line change 1
- <!-- $Header: /cvsroot/pgsql/doc/src/sgml/charset.sgml,v 2.7 2001/04/20 15:52:33 thomas Exp $ -->
1
+ <!-- $Header: /cvsroot/pgsql/doc/src/sgml/charset.sgml,v 2.8 2001/05/03 21:38:44 momjian Exp $ -->
2
2
3
3
<chapter id="charset">
4
4
<title>Localization</>
@@ -353,7 +353,7 @@ perl: warning: Falling back to the standard locale ("C").
353
353
</row>
354
354
<row>
355
355
<entry>KOI8</entry>
356
- <entry>KOI8-R</entry>
356
+ <entry>KOI8-R(U) </entry>
357
357
</row>
358
358
<row>
359
359
<entry>WIN</entry>
Original file line number Diff line number Diff line change @@ -35,32 +35,32 @@ static pg_local_to_utf LUmapKOI8[ 128 ] = {
35
35
{0x00a1, 0xe29591},
36
36
{0x00a2, 0xe29592},
37
37
{0x00a3, 0xd191},
38
- {0x00a4, 0xe29593 },
38
+ {0x00a4, 0xd194 },
39
39
{0x00a5, 0xe29594},
40
- {0x00a6, 0xe29595 },
41
- {0x00a7, 0xe29596 },
40
+ {0x00a6, 0xd196 },
41
+ {0x00a7, 0xd197 },
42
42
{0x00a8, 0xe29597},
43
43
{0x00a9, 0xe29598},
44
44
{0x00aa, 0xe29599},
45
45
{0x00ab, 0xe2959a},
46
46
{0x00ac, 0xe2959b},
47
- {0x00ad, 0xe2959c },
47
+ {0x00ad, 0xd291 },
48
48
{0x00ae, 0xe2959d},
49
49
{0x00af, 0xe2959e},
50
50
{0x00b0, 0xe2959f},
51
51
{0x00b1, 0xe295a0},
52
52
{0x00b2, 0xe295a1},
53
53
{0x00b3, 0xd081},
54
- {0x00b4, 0xe295a2 },
54
+ {0x00b4, 0xd084 },
55
55
{0x00b5, 0xe295a3},
56
- {0x00b6, 0xe295a4 },
57
- {0x00b7, 0xe295a5 },
56
+ {0x00b6, 0xd086 },
57
+ {0x00b7, 0xd087 },
58
58
{0x00b8, 0xe295a6},
59
59
{0x00b9, 0xe295a7},
60
60
{0x00ba, 0xe295a8},
61
61
{0x00bb, 0xe295a9},
62
62
{0x00bc, 0xe295aa},
63
- {0x00bd, 0xe295ab },
63
+ {0x00bd, 0xd290 },
64
64
{0x00be, 0xe295ac},
65
65
{0x00bf, 0xc2a9},
66
66
{0x00c0, 0xd18e},
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ static pg_utf_to_local ULmap_KOI8[ 128 ] = {
6
6
{0xc2b7, 0x009e},
7
7
{0xc3b7, 0x009f},
8
8
{0xd081, 0x00b3},
9
+ {0xd084, 0x00b4},
10
+ {0xd086, 0x00b6},
11
+ {0xd087, 0x00b7},
9
12
{0xd090, 0x00e1},
10
13
{0xd091, 0x00e2},
11
14
{0xd092, 0x00f7},
@@ -71,6 +74,11 @@ static pg_utf_to_local ULmap_KOI8[ 128 ] = {
71
74
{0xd18e, 0x00c0},
72
75
{0xd18f, 0x00d1},
73
76
{0xd191, 0x00a3},
77
+ {0xd194, 0x00a4},
78
+ {0xd196, 0x00a6},
79
+ {0xd197, 0x00a7},
80
+ {0xd290, 0x00bd},
81
+ {0xd291, 0x00ad},
74
82
{0xe28899, 0x0095},
75
83
{0xe2889a, 0x0096},
76
84
{0xe28988, 0x0097},
@@ -92,31 +100,23 @@ static pg_utf_to_local ULmap_KOI8[ 128 ] = {
92
100
{0xe29590, 0x00a0},
93
101
{0xe29591, 0x00a1},
94
102
{0xe29592, 0x00a2},
95
- {0xe29593, 0x00a4},
96
103
{0xe29594, 0x00a5},
97
- {0xe29595, 0x00a6},
98
- {0xe29596, 0x00a7},
99
104
{0xe29597, 0x00a8},
100
105
{0xe29598, 0x00a9},
101
106
{0xe29599, 0x00aa},
102
107
{0xe2959a, 0x00ab},
103
108
{0xe2959b, 0x00ac},
104
- {0xe2959c, 0x00ad},
105
109
{0xe2959d, 0x00ae},
106
110
{0xe2959e, 0x00af},
107
111
{0xe2959f, 0x00b0},
108
112
{0xe295a0, 0x00b1},
109
113
{0xe295a1, 0x00b2},
110
- {0xe295a2, 0x00b4},
111
114
{0xe295a3, 0x00b5},
112
- {0xe295a4, 0x00b6},
113
- {0xe295a5, 0x00b7},
114
115
{0xe295a6, 0x00b8},
115
116
{0xe295a7, 0x00b9},
116
117
{0xe295a8, 0x00ba},
117
118
{0xe295a9, 0x00bb},
118
119
{0xe295aa, 0x00bc},
119
- {0xe295ab, 0x00bd},
120
120
{0xe295ac, 0x00be},
121
121
{0xe29680, 0x008b},
122
122
{0xe29684, 0x008c},
Original file line number Diff line number Diff line change 1
- /* $Id: pg_wchar.h,v 1.25 2001/03/22 04:00:49 momjian Exp $ */
1
+ /* $Id: pg_wchar.h,v 1.26 2001/05/03 21:38:44 momjian Exp $ */
2
2
3
3
#ifndef PG_WCHAR_H
4
4
#define PG_WCHAR_H
28
28
#define LATIN7 13 /* ISO-8859 Latin 7 */
29
29
#define LATIN8 14 /* ISO-8859 Latin 8 */
30
30
#define LATIN9 15 /* ISO-8859 Latin 9 */
31
- #define KOI8 16 /* KOI8-R */
31
+ #define KOI8 16 /* KOI8-R/U */
32
32
#define WIN 17 /* windows-1251 */
33
33
#define ALT 18 /* Alternativny Variant (MS-DOS CP866) */
34
34
/* followings are for client encoding only */
@@ -68,6 +68,7 @@ typedef unsigned int pg_wchar;
68
68
#define LC_JISX0201K 0x89 /* Japanese 1 byte kana */
69
69
#define LC_JISX0201R 0x8a /* Japanese 1 byte Roman */
70
70
#define LC_KOI8_R 0x8c /* Cyrillic KOI8-R */
71
+ #define LC_KOI8_U 0x8c /* Cyrillic KOI8-U */
71
72
#define LC_GB2312_80 0x91 /* Chinese */
72
73
#define LC_JISX0208 0x92 /* Japanese Kanji */
73
74
#define LC_KS5601 0x93 /* Korean */
Original file line number Diff line number Diff line change 21
21
#define LATIN7 13 /* ISO-8859 Latin 7 */
22
22
#define LATIN8 14 /* ISO-8859 Latin 8 */
23
23
#define LATIN9 15 /* ISO-8859 Latin 9 */
24
- #define KOI8 16 /* KOI8-R */
24
+ #define KOI8 16 /* KOI8-R/U */
25
25
#define WIN 17 /* windows-1251 */
26
26
#define ALT 18 /* Alternativny Variant (MS-DOS CP866) */
27
27
#define SJIS 32 /* Shift JIS */
You can’t perform that action at this time.
0 commit comments