diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-01 17:26:44 +0000 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-02 10:54:39 +0000 |
commit | fbd5ec59cacf61199b9a054742d78644ea4fb6cc (patch) | |
tree | 700645f6cb34bdac88c136c56f0236e9072e01a6 /sal | |
parent | 82c32d5c9f9031e8782359edfb71055383495df1 (diff) |
ofz#358 SJIS_84 table mnLeadEnd is out by one
sjis 82 and 83 correctly denote the last index available
while 84 reports one past the last available index
0x84BE is the last value to map, not 0x84BF
Change-Id: Idcadc2d554ee59586f6e2f2775301fe69c94d55a
(cherry picked from commit 0f4eb22d5f3a86af9e5f8042c69e4ddf4a350b93)
Reviewed-on: https://gerrit.libreoffice.org/32588
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/textenc/tcvtjp6.tab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/textenc/tcvtjp6.tab b/sal/textenc/tcvtjp6.tab index 3b98079cdae8..1dd7789ffe8d 100644 --- a/sal/textenc/tcvtjp6.tab +++ b/sal/textenc/tcvtjp6.tab @@ -162,7 +162,7 @@ static ImplDBCSToUniLeadTab const aSJISUniLeadTab[256] = { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ { 0, 0x4F, 0xF1, aImplDBCSToUniTab_SJIS_82 }, /* 0x82 */ { 0, 0x40, 0xD6, aImplDBCSToUniTab_SJIS_83 }, /* 0x83 */ - { 0, 0x40, 0xBF, aImplDBCSToUniTab_SJIS_84 }, /* 0x84 */ + { 0, 0x40, 0xBE, aImplDBCSToUniTab_SJIS_84 }, /* 0x84 */ { 0, 1, 0, aImplDoubleByteIdentifierTab }, /* 0x85 */ /* We convert this as double byte */ { 0, 1, 0, aImplDoubleByteIdentifierTab }, /* 0x86 */ /* We convert this as double byte */ { 0, 0x40, 0x9C, aImplDBCSToUniTab_MS932_87 }, /* 0x87 */ /* We use the MS table for better MS compatibility */ @@ -734,7 +734,7 @@ static ImplDBCSToUniLeadTab const aMS932UniLeadTab[256] = { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ { 0, 0x4F, 0xF1, aImplDBCSToUniTab_SJIS_82 }, /* 0x82 */ { 0, 0x40, 0xD6, aImplDBCSToUniTab_SJIS_83 }, /* 0x83 */ - { 0, 0x40, 0xBF, aImplDBCSToUniTab_SJIS_84 }, /* 0x84 */ + { 0, 0x40, 0xBE, aImplDBCSToUniTab_SJIS_84 }, /* 0x84 */ { 0, 1, 0, aImplDoubleByteIdentifierTab }, /* 0x85 */ /* We convert this as double byte */ { 0, 1, 0, aImplDoubleByteIdentifierTab }, /* 0x86 */ /* We convert this as double byte */ { 0, 0x40, 0x9C, aImplDBCSToUniTab_MS932_87 }, /* 0x87 */ @@ -1291,7 +1291,7 @@ static ImplDBCSToUniLeadTab const aAPPLEJAPANESEUniLeadTab[256] = { 0, 0x40, 0xFC, aImplDBCSToUniTab_MS932_81 }, /* 0x81 */ { 0, 0x4F, 0xF1, aImplDBCSToUniTab_SJIS_82 }, /* 0x82 */ { 0, 0x40, 0xD6, aImplDBCSToUniTab_SJIS_83 }, /* 0x83 */ - { 0, 0x40, 0xBF, aImplDBCSToUniTab_SJIS_84 }, /* 0x84 */ + { 0, 0x40, 0xBE, aImplDBCSToUniTab_SJIS_84 }, /* 0x84 */ { 0, 0x40, 0xF4, aImplDBCSToUniTab_APPLEJAPANESE_85 }, /* 0x85 */ { 0, 0x40, 0xD2, aImplDBCSToUniTab_APPLEJAPANESE_86 }, /* 0x86 */ { 0, 0x40, 0xFA, aImplDBCSToUniTab_APPLEJAPANESE_87 }, /* 0x87 */ |