• Chung's avatar
    Fix unicode read on input · 9ae64f50
    Chung authored
    In the current read scheme for Openfire, it is possible that due
    to variable width encoding that we sometimes only create a
    string with a partial character.
    
    This breaks the message text and causes encoding issues when read.
    
    This change modifies the way the characters are
    read to use an bytearrayoutputstream and
    only do the string conversion once.
    
    Since we only do the string creation once after the full
    buffer is read, we no longer have encoding
    issues with broken unicode characters.
    9ae64f50
Name
Last commit
Last update
..
admin Loading commit data...
database Loading commit data...
openfire Loading commit data...
util Loading commit data...