Traditional Chinese Support
Posted by: michael lee
Date: March 13, 2005 09:14PM

Hi,

I have just downloaded Connector U (3.1.7). Since i encountered some problem on using the Traditional Chinese with Hong Kong extensions before, i have viewed the source and found following on StringUtil.java


if (!parserKnowsUnicode &&
(encoding.equalsIgnoreCase("SJIS") //$NON-NLS-1$
||encoding.equalsIgnoreCase("BIG5") //$NON-NLS-1$
||encoding.equalsIgnoreCase("GBK"))) { //$NON-NLS-1$

if (!encoding.equalsIgnoreCase(serverEncoding)) {
b = escapeEasternUnicodeByteStream(b, s, 0, s.length());
}


It seems that the charset BIG5_HKSCS and MS950_HKSCS should be included in the condition. (refer to http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html )

Can this change be included in future version's Connector J

Regards,
Michael

Options: ReplyQuote


Subject
Written By
Posted
Traditional Chinese Support
March 13, 2005 09:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.