Hi, I am facing a strange behavior with JDK 1.2. String(byte[]) is supposed to construct a string from a byte array. using default encoding. The default encoding in terms comes from sun.io.ByteToCharConverter's getDefault(). I am wondering what determine what's return by the getDefault in ByteToCharConverter. My program if runs under command line use the current Big5 encoding. However, when I run it as a servlet under apache, it use ISO8859_1 converter. I have try to set a couple paramter for the VM from file.encoding, user.lang to user.region and none of these seems to affect the the default converter. I wonder how the getDefault() method is controled. David Li ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]