Monday, April 29, 2002 04:28 AM
You are using classes that have no methods for specifing the character encoding to use. They use the system default character encoding which is different on different systems.
You should construct your printwriter so that it writes bytes in the character encoding of your choice. If you want chinese characters, you might want to use Chinese Simplified (GB2312).
os = new PrintWriter(new OutputStreamWriter(outStream, "GB2312"));