All,
Slightly off-topic but in implementing WebSocket and running Autobahn
against my implementation I have hit a number of issues with the UTF-8
decoder provided by the JRE. Has anyone else hit these issues?
I have a test case that highlights the issues[1] that can be summarised
as a) not detecting errors early enough and b) swallowing too many bytes
when an error is detected (possibly as a consequence of a)
I'm planning on raising a bug with Oracle but wanted to see how
wide-spread the problem was before I did so.
Mark
[1]
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/buf/TestUtf8.java?view=markup