summaryrefslogtreecommitdiff
path: root/i18nutil
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2023-07-24 16:29:40 +0300
committerخالد حسني <khaled@libreoffice.org>2023-07-24 20:20:21 +0200
commit88790291ddc00bfa18d3f7bcc0825b1ce14cb490 (patch)
tree51a48d35e67a32b88f965586eb3e85d6a6bc66e9 /i18nutil
parent9eb88d78c8bc9e942814eb6fc4fe06a4e5736256 (diff)
tdf#97152: Fix upper case mapping of lunate sigma (U+03F2)
It was mapped to uppercase sigma (U+03A3) while it should be mapped to uppercase lunate sigma (U+03F9). Fix by letting this slot fallback to ICU case folding. Change-Id: I14ffa0151c740779b67af14be8c7af8c51c3a1e0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154845 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'i18nutil')
-rw-r--r--i18nutil/source/utility/casefolding_data.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/i18nutil/source/utility/casefolding_data.h b/i18nutil/source/utility/casefolding_data.h
index 3ea677e83405..f3f22c734e24 100644
--- a/i18nutil/source/utility/casefolding_data.h
+++ b/i18nutil/source/utility/casefolding_data.h
@@ -219,7 +219,7 @@ const Value CaseMappingValue[] = {
{0x00, 0x0000}, {0x00, 0x0000}, {0x6a, 0x03DB}, {0x15, 0x03DA}, {0x6a, 0x03DD}, {0x15, 0x03DC}, {0x6a, 0x03DF}, {0x15, 0x03DE}, // 03d8 - 03df
{0x6a, 0x03E1}, {0x15, 0x03E0}, {0x6a, 0x03E3}, {0x15, 0x03E2}, {0x6a, 0x03E5}, {0x15, 0x03E4}, {0x6a, 0x03E7}, {0x15, 0x03E6}, // 03e0 - 03e7
{0x6a, 0x03E9}, {0x15, 0x03E8}, {0x6a, 0x03EB}, {0x15, 0x03EA}, {0x6a, 0x03ED}, {0x15, 0x03EC}, {0x6a, 0x03EF}, {0x15, 0x03EE}, // 03e8 - 03ef
- {0xf5, 0x0044}, {0xf5, 0x0046}, {0xf5, 0x0048}, {0x00, 0x0000}, {0x6a, 0x03B8}, {0xf5, 0x004A}, {0x00, 0x0000}, {0x00, 0x0000}, // 03f0 - 03f7
+ {0xf5, 0x0044}, {0xf5, 0x0046}, {0x00, 0x0000}, {0x00, 0x0000}, {0x6a, 0x03B8}, {0xf5, 0x004A}, {0x00, 0x0000}, {0x00, 0x0000}, // 03f0 - 03f7
{0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, {0x00, 0x0000}, // 03f8 - 03ff
{0x6a, 0x0450}, {0x6a, 0x0451}, {0x6a, 0x0452}, {0x6a, 0x0453}, {0x6a, 0x0454}, {0x6a, 0x0455}, {0x6a, 0x0456}, {0x6a, 0x0457}, // 0400 - 0407
@@ -761,8 +761,8 @@ Mapping const CaseMappingExtra[] = {
{0x60, 1, {0x03BA, 0x0000, 0x0000}}, // 0x03f0 (69 0x0045)
{0x15, 1, {0x03A1, 0x0000, 0x0000}}, // 0x03f1 (70 0x0046)
{0x60, 1, {0x03C1, 0x0000, 0x0000}}, // 0x03f1 (71 0x0047)
- {0x15, 1, {0x03A3, 0x0000, 0x0000}}, // 0x03f2 (72 0x0048)
- {0x60, 1, {0x03C3, 0x0000, 0x0000}}, // 0x03f2 (73 0x0049)
+ {0x15, 1, {0x03A3, 0x0000, 0x0000}}, // 0x03f2 (72 0x0048) -- not hit, but keep slot (tdf#97152)
+ {0x60, 1, {0x03C3, 0x0000, 0x0000}}, // 0x03f2 (73 0x0049) -- not hit, but keep slot (tdf#97152)
{0x15, 1, {0x0395, 0x0000, 0x0000}}, // 0x03f5 (74 0x004A)
{0x60, 1, {0x03B5, 0x0000, 0x0000}}, // 0x03f5 (75 0x004B)
{0x05, 2, {0x0535, 0x0552, 0x0000}}, // 0x0587 (76 0x004C)