diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2000-10-30 10:41:05 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2000-10-30 10:41:05 +0000 |
commit | 1acf6f9c8e1af527b198f2047154f28d7be5c43c (patch) | |
tree | c723e1c302c945faa871b450a5ca5114a98f18ce /src/backend/utils/mb/mbutils.c | |
parent | 0b10d35e2b0f588847f10e79fd693b8be5ad578a (diff) |
Add support for code conversion between Unicode and other encodings.
Supported encodings are: EUC_JP, EUC_CN, EUC_KR, EUC_TW, Shift JIS,
Big5, ISO8859-[1-5].
TODO: testings! and documentations...
Diffstat (limited to 'src/backend/utils/mb/mbutils.c')
-rw-r--r-- | src/backend/utils/mb/mbutils.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/utils/mb/mbutils.c b/src/backend/utils/mb/mbutils.c index 6ee3317b7a7..7cf082dc0ce 100644 --- a/src/backend/utils/mb/mbutils.c +++ b/src/backend/utils/mb/mbutils.c @@ -3,7 +3,7 @@ * client encoding and server internal encoding. * (currently mule internal code (mic) is used) * Tatsuo Ishii - * $Id: mbutils.c,v 1.12 2000/10/12 06:06:50 ishii Exp $ */ + * $Id: mbutils.c,v 1.13 2000/10/30 10:40:28 ishii Exp $ */ #include "postgres.h" @@ -209,13 +209,6 @@ pg_mblen(const unsigned char *mbstr) return ((*pg_wchar_table[GetDatabaseEncoding()].mblen) (mbstr)); } -/* returns the byte length of a multi-byte word with specified enciding */ -int -pg_mblen_with_encoding(const unsigned char *mbstr, int encoding) -{ - return ((*pg_wchar_table[encoding].mblen) (mbstr)); -} - /* returns the length (counted as a wchar) of a multi-byte string */ int pg_mbstrlen(const unsigned char *mbstr) |