diff options
| author | Tatsuo Ishii | 2001-10-16 10:09:17 +0000 |
|---|---|---|
| committer | Tatsuo Ishii | 2001-10-16 10:09:17 +0000 |
| commit | cfe01796e6e9a9f644247b6e1810ba95bf89832d (patch) | |
| tree | 8fbc4ca58487046172fb2aa71c5ffa889a0210aa /src/include/mb | |
| parent | 2bb6b98d5ce82ec2b94cc1788e0090bf26bc8f4f (diff) | |
Ok, here is the modified encoding table (column1 is the standard name,
2 is our "official" name, and 3 is alias). If there's no objection, I
will change them.
ASCII SQL_ASCII
UTF-8 UNICODE UTF_8
MULE-INTERNAL MULE_INTERNAL
ISO-8859-1 LATIN1 ISO_8859_1
ISO-8859-2 LATIN2 ISO_8859_2
ISO-8859-3 LATIN3 ISO_8859_3
ISO-8859-4 LATIN4 ISO_8859_4
ISO-8859-5 ISO_8859_5
ISO-8859-6 ISO_8859_6
ISO-8859-7 ISO_8859_7
ISO-8859-8 ISO_8859_8
ISO-8859-9 LATIN5 ISO_8859_9
ISO-8859-10 LATIN6 ISO_8859_10
ISO-8859-13 LATIN7 ISO_8859_13
ISO-8859-14 LATIN8 ISO_8859_14
ISO-8859-15 LATIN9 ISO_8859_15
ISO-8859-16 LATIN10 ISO_8859_16
Diffstat (limited to 'src/include/mb')
| -rw-r--r-- | src/include/mb/pg_wchar.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/include/mb/pg_wchar.h b/src/include/mb/pg_wchar.h index 38d06661d5..c1e60312ab 100644 --- a/src/include/mb/pg_wchar.h +++ b/src/include/mb/pg_wchar.h @@ -1,4 +1,4 @@ -/* $Id: pg_wchar.h,v 1.33 2001/10/11 14:20:35 ishii Exp $ */ +/* $Id: pg_wchar.h,v 1.34 2001/10/16 10:09:17 ishii Exp $ */ #ifndef PG_WCHAR_H #define PG_WCHAR_H @@ -141,7 +141,7 @@ typedef unsigned int pg_wchar; * Encoding numeral identificators * * WARNING: the order of this table must be same as order - * in the pg_enconv[] (mb/conv.c) and pg_enc2name[] (mb/names.c) array! + * in the pg_enconv[] (mb/conv.c) and pg_enc2name[] (mb/encnames.c) array! * * If you add some encoding don'y forget check * PG_ENCODING_[BE|FE]_LAST macros. @@ -157,11 +157,16 @@ typedef enum pg_enc PG_EUC_TW, /* EUC for Taiwan */ PG_UTF8, /* Unicode UTF-8 */ PG_MULE_INTERNAL, /* Mule internal code */ - PG_LATIN1, /* ISO-8859 Latin 1 */ - PG_LATIN2, /* ISO-8859 Latin 2 */ - PG_LATIN3, /* ISO-8859 Latin 3 */ - PG_LATIN4, /* ISO-8859 Latin 4 */ + PG_LATIN1, /* ISO-8859-1 Latin 1 */ + PG_LATIN2, /* ISO-8859-2 Latin 2 */ + PG_LATIN3, /* ISO-8859-3 Latin 3 */ + PG_LATIN4, /* ISO-8859-4 Latin 4 */ PG_LATIN5, /* ISO-8859-9 Latin 5 */ + PG_LATIN6, /* ISO-8859-10 Latin6 */ + PG_LATIN7, /* ISO-8859-13 Latin7 */ + PG_LATIN8, /* ISO-8859-14 Latin8 */ + PG_LATIN9, /* ISO-8859-15 Latin9 */ + PG_LATIN10, /* ISO-8859-16 Latin10 */ PG_KOI8R, /* KOI8-R */ PG_WIN1251, /* windows-1251 (was: WIN) */ PG_ALT, /* (MS-DOS CP866) */ @@ -169,12 +174,7 @@ typedef enum pg_enc PG_ISO_8859_6, /* ISO-8859-6 */ PG_ISO_8859_7, /* ISO-8859-7 */ PG_ISO_8859_8, /* ISO-8859-8 */ - PG_ISO_8859_10, /* ISO-8859-10 Latin6 */ - PG_ISO_8859_13, /* ISO-8859-13 Latin7 */ - PG_ISO_8859_14, /* ISO-8859-14 Latin8 */ - PG_ISO_8859_15, /* ISO-8859-15 Latin9 */ - PG_ISO_8859_16, /* ISO-8859-16 */ - + /* followings are for client encoding only */ PG_SJIS, /* Shift JIS */ PG_BIG5, /* Big5 */ @@ -184,7 +184,7 @@ typedef enum pg_enc } pg_enc; -#define PG_ENCODING_BE_LAST PG_ISO_8859_16 +#define PG_ENCODING_BE_LAST PG_ISO_8859_8 #define PG_ENCODING_FE_LAST PG_WIN1250 |
