FYI, we are well aware of this shortcoming (modified UTF-8), and with each release try to mitigate it even further. The problem is that it is so deep in the code (note that it is since Java 1.0) that it is not easy to eliminate without breaking a lot of existing stuff, something that the Java team strive to avoid.

Theodore H. Smith wrote:

http://java.sun.com/j2se/1.5.0/docs/api/java/io/ DataInput.html#modified-utf-8

If only people could sue for suggesting bad coding practices ;o)


-- Theodore H. Smith - Software Developer. http://www.elfdata.com





Reply via email to