Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Advanced-java] International
- From: karenshiau@xxxxxxxxxx (Karen Shiau)
- Subject: [Advanced-java] International
- Date: Mon, 21 Jan 2002 17:09:58 -0500
I got one response off line. Thanks so much for your quick response; I
really appreciated.
In fact, my sample program did not read or write text from a file, I
hard-coded the Unicode, e.g., String jaString = new String("\u65e5
\u672c\u8a9e\u6587\u5b57\u5217"); So, I don't think it has anything to
do encoding.
I just changed my program to write Unicode to a file by Writer out = new
OutputStreamWriter(fos, "Big5"); and output file displayed on DOS
console correctly. Might be I should say it interpreted to Chinese
characters correctly, since DOS console and NotePad do not display text
with font style, e.g. Bold, Italic, etc.
By the way, I searched the API and didn't find method setEncoding. May
I know which class it belongs to?
________________________________________________
Get your own "800" number
Voicemail, fax, email, and a lot more
http://www.ureach.com/reg/tag
- Prev by Date: [Advanced-java] Fast Persistence of Unique Numbers
- Next by Date: [Advanced-java] NYJavaSIG - Java Technology on Wall Street Conference - Feb 4/5
- Previous by thread: [Advanced-java] International
- Next by thread: [Advanced-java] NYJavaSIG - Java Technology on Wall Street Conference - Feb 4/5
- Index(es):