Closed GoogleCodeExporter closed 9 years ago
This isn't actually the responsibility of the ChatQueue; let's create a
ByteArray
class to handle bnet "strings" stored in UTF-8 encoded byte arrays. This will
prevent
any possibility of screwing up the unicode characters.
Encryption will work on the ByteArray objects, so that unicode strings will be
implicitly converted to UTF-8, and never get the chance to be screwed up.
The ByteArrays should be converted back to unicode Strings before they touch any
EventHandlers
Fixed by r1570
Original comment by sco...@gmail.com
on 26 Jun 2008 at 7:27
Original comment by sco...@gmail.com
on 26 Jun 2008 at 7:27
See-also: issue 96, on the topic of what happens if a utf-8 encoded string is
split
in the middle of a utf-8 encoded character
Original comment by sco...@gmail.com
on 26 Jun 2008 at 7:35
Original issue reported on code.google.com by
sco...@gmail.com
on 11 May 2008 at 6:59