Bug 457886 - Cannot send ISO-2022-JP email on Tb trunk; r=smontagu sr=bienvenu
This commit is contained in:
@@ -62,7 +62,7 @@ nsresult nsUnicodeEncodeHelper::ConvertByTable(
|
||||
|
||||
while (src < srcEnd) {
|
||||
if (!uMapCode((uTable*) aMappingTable, static_cast<PRUnichar>(*(src++)), reinterpret_cast<PRUint16*>(&med))) {
|
||||
if (*(src - 1) < 0x20) {
|
||||
if (aScanClass == u1ByteCharset && *(src - 1) < 0x20) {
|
||||
// some tables are missing the 0x00 - 0x20 part
|
||||
med = *(src - 1);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user