Duplicate :
|
|
Relates :
|
writeUTF silently throws away characters in a String after it has used up 2^16-1 bytes of encoding. I have no way of knowing when that point will be -- it depends on exactly what characters are in the string. There is no excuse for silent truncation, or for any truncation at all.
|