how the JVM change the encoding or charSet automaticly
843811Apr 28 2002 — edited May 5 2002hi,
As we know, java VM will change the String object's origenal charSet (or encoding) to the local platform's default charset when we output the String to a physical file through java.io.Writer or java.io.outputStream. for example, the String are encoding in UTF8, and be send to a server which default charset is not UTF8.
So, what can be done to disable the JVM to do that, let the system record the String to a file in it's origenal charSet as it been stored in local mermory.