diff --git a/intl/uconv/ucvcn/nsBIG5ToUnicode.cpp b/intl/uconv/ucvcn/nsBIG5ToUnicode.cpp index 72605dc5a7a6..44f3ee3af8f2 100644 --- a/intl/uconv/ucvcn/nsBIG5ToUnicode.cpp +++ b/intl/uconv/ucvcn/nsBIG5ToUnicode.cpp @@ -27,8 +27,9 @@ static PRUint16 g_BIG5MappingTable[] = { }; static PRInt16 g_BIG5ShiftTable[] = { - 1, u1ByteCharset , - ShiftCell(0,0,0,0,0,0,0,0) + 2, uMultibytesCharset, + ShiftCell(u1ByteChar, 1, 0x00, 0x7F, 0x00, 0x00, 0x00, 0x7F), + ShiftCell(u2BytesChar, 2, 0xA1, 0xFE, 0xA1, 0x40, 0xFE, 0xFE) }; //---------------------------------------------------------------------- diff --git a/intl/uconv/ucvcn/nsUnicodeToBIG5.cpp b/intl/uconv/ucvcn/nsUnicodeToBIG5.cpp index e8da1f8f86bf..46401e2e33cd 100644 --- a/intl/uconv/ucvcn/nsUnicodeToBIG5.cpp +++ b/intl/uconv/ucvcn/nsUnicodeToBIG5.cpp @@ -27,8 +27,9 @@ static PRUint16 g_BIG5MappingTable[] = { }; static PRInt16 g_BIG5ShiftTable[] = { - 1, u1ByteCharset , - ShiftCell(0,0,0,0,0,0,0,0) + 2, uMultibytesCharset, + ShiftCell(u1ByteChar, 1, 0x00, 0x7F, 0x00, 0x00, 0x00, 0x7F), + ShiftCell(u2BytesChar, 2, 0xA1, 0xFE, 0xA1, 0x40, 0xFE, 0xFE) }; //----------------------------------------------------------------------