Ok, so I found the answer.

The byte count difference between the platforms is correct. The bytes
are encoded differently for different platforms. When reading the bytes
into a String one should do it by specifying the required encoding, ie.

String myString = new String(in.getByteArray(),"8859_1");

Cheers
Paul


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Tech" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Tech
-~----------~----~----~----~------~----~------~--~---

Reply via email to