Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2c77587

Browse files
committed
Add KOI8/WIN/ALT to the multi-byte encoding selections
1 parent 61ce9cd commit 2c77587

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/include/mb/pg_wchar.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Id: pg_wchar.h,v 1.6 1999/02/02 18:51:25 momjian Exp $ */
1+
/* $Id: pg_wchar.h,v 1.7 1999/03/24 06:53:28 ishii Exp $ */
22

33
#ifndef PG_WCHAR_H
44
#define PG_WCHAR_H
@@ -23,6 +23,9 @@
2323
#define LATIN7 13 /* ISO-8859 Latin 7 */
2424
#define LATIN8 14 /* ISO-8859 Latin 8 */
2525
#define LATIN9 15 /* ISO-8859 Latin 9 */
26+
#define KOI8 16 /* KOI8-R */
27+
#define WIN 17 /* windows-1251 */
28+
#define ALT 18 /* Alternativny Variant (MS-DOS CP866) */
2629
/* followings are for client encoding only */
2730
#define SJIS 32 /* Shift JIS */
2831
#define BIG5 33 /* Big5 */
@@ -57,7 +60,8 @@ typedef unsigned int pg_wchar;
5760
#define LC_ISO8859_4 0x84 /* ISO8859 Latin 4 */
5861
#define LC_ISO8859_5 0x8d /* ISO8859 Latin 5 */
5962
#define LC_JISX0201K 0x89 /* Japanese 1 byte kana */
60-
#define LC_JISX0201R 0x90 /* Japanese 1 byte Roman */
63+
#define LC_JISX0201R 0x8a /* Japanese 1 byte Roman */
64+
#define LC_KOI8_R 0x8c /* Cyrillic KOI8-R */
6165
#define LC_GB2312_80 0x91 /* Chinese */
6266
#define LC_JISX0208 0x92 /* Japanese Kanji */
6367
#define LC_KS5601 0x93 /* Korean */

0 commit comments

Comments
 (0)