Hi Julius,
> byte[] bytes = "I love my byte array".getBytes();
tsk tsk tsk. That's depending on the platform default
encoding. You should never convert strings to bytes
without specifying the encoding to be used... ;-)
byte[] bytes = "I love my byte array".getBytes("UTF-8");
A co-worker once searched for several hours why his
code wouldn't work on a mainframe because of this.
I was only wondering why the Taiwan test team hadn't
detected the problem before, but I guess the test
servers had an ISO default encoding.
cheers,
Roland
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]