Skip to content

Commit eb1fb86

Browse files
committed
>Added ServerEncoding
> Korean (JOHAB), Thai (WIN874), > Vietnamese (TCVN), Arabic (WIN1256) > >Added ClientEncoding > Simplified Chinese (GBK), Korean (UHC) > >Add PsqlODBC and document ...etc patch. "JDBC patch" is delivered, too. :-) Eiji Tokuya
1 parent d3337c6 commit eb1fb86

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/interfaces/jdbc/org/postgresql/core/Encoding.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
/*
99
* Converts to and from the character encoding used by the backend.
1010
*
11-
* $Id: Encoding.java,v 1.4 2001/11/19 22:33:37 momjian Exp $
11+
* $Id: Encoding.java,v 1.5 2002/03/19 02:48:45 momjian Exp $
1212
*/
1313

1414
public class Encoding
@@ -40,10 +40,16 @@ public class Encoding
4040
encodings.put("EUC_JP", new String[] { "EUC_JP" });
4141
encodings.put("EUC_CN", new String[] { "EUC_CN" });
4242
encodings.put("EUC_KR", new String[] { "EUC_KR" });
43+
encodings.put("JOHAB", new String[] { "Johab" });
4344
encodings.put("EUC_TW", new String[] { "EUC_TW" });
44-
encodings.put("SJIS", new String[] { "SJIS" });
45-
encodings.put("BIG5", new String[] { "Big5" });
45+
encodings.put("SJIS", new String[] { "MS932","SJIS" });
46+
encodings.put("BIG5", new String[] { "Big5","MS950","Cp950" });
47+
encodings.put("GBK", new String[] { "GBK","MS936" });
48+
encodings.put("UHC", new String[] { "MS949","Cp949","Cp949C" });
49+
encodings.put("TCVN", new String[] { "Cp1258" });
50+
encodings.put("WIN1256", new String[] { "Cp1256" });
4651
encodings.put("WIN1250", new String[] { "Cp1250" });
52+
encodings.put("WIN874", new String[] { "MS874","Cp874" });
4753
encodings.put("WIN", new String[] { "Cp1251" });
4854
encodings.put("ALT", new String[] { "Cp866" });
4955
// We prefer KOI8-U, since it is a superset of KOI8-R.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy