PrintStream and Internationalization, (2nd try)

I wonder howPrintStream, which deals with bytes, can handle Unicode which requires at least a full Javachar. The stream used for screen output by the classSystem -System.out - is aPrintStream.

The JavaDoc of PrintStream says: "All characters printed by a PrintStream are converted into bytes using the platform's default character encoding."

How does this work when the character set contains more than 256 characters - like Hangul or Chinese?

Renwu

[515 byte] By [Renwua] at [2007-10-1 21:08:31]
# 1
Please post your answers on this thread http://forum.java.sun.com/thread.jspa?threadID=653730&tstart=0
xHackera at 2007-7-13 3:05:57 > top of Java-index,Desktop,I18N...