Webmail bug fix for Japanese characters

We’ve fixed a bug in our Webmail system that could, in rare cases, make Japanese language symbols display incorrectly. This change shouldn’t affect anything else, but as always, feel free to contact us if you have any trouble.

For those interested in the technical details, the ISO-2022-JP character set can include strings of text that contain the “<” character as part of normal encoded Japanese symbols. When that character appeared in an HTML-formatted message, Webmail was sometimes treating it as an invalid HTML tag and modifying it. This bug has been fixed in the upstream code of the SquirrelMail software we use by ensuring that all “charset decoding” is finished before any “HTML sanitizing” is started.