diff options
author | Eike Rathke <erack@redhat.com> | 2021-11-16 14:53:14 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2021-11-16 20:23:45 +0100 |
commit | 263961306ede0656ebb7904034a2172615ce81d0 (patch) | |
tree | ee25601971c03fe2cd498e09bf532d6ecaaa6475 /i18nutil | |
parent | a2bb4fc9174637c065364f9740f164b27172d1f3 (diff) |
Update to ICU 70.1
Unicode 14, 5 new scripts, 12 new Unicode blocks.
In i18npool/qa/cppunit/test_breakiterator.cxx
TestBreakIterator::testLao() had to be disabled/adapted.
Needs to be investigated, see comments there.
As is, Lao script word break has regressions.
Correct UBLOCK_TANGUT_SUPPLEMENT Unicode range endpoint to
0x18D7F, see
https://www.unicode.org/versions/Unicode14.0.0/erratafixed.html
for which ublock_getCode(0x18D8F) now returned UBLOCK_NO_BLOCK and
thus luckily the assert in svx/source/dialog/charmap.cxx hit.
Change-Id: I4bad16ecfab3f44be365b8f884c57f34af68218e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125322
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'i18nutil')
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 2b8d0a256e99..49a0f4dafc1e 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -779,6 +779,23 @@ OString unicode::getExemplarLanguageForUScriptCode(UScriptCode eScript) sRet = "kmr-Yezi"; break; #endif +#if (U_ICU_VERSION_MAJOR_NUM >= 70) + case USCRIPT_CYPRO_MINOAN: + sRet = "mis-Cpmn"; // Uncoded with script + break; + case USCRIPT_OLD_UYGHUR: + sRet = "oui-Ougr"; + break; + case USCRIPT_TANGSA: + sRet = "nst-Tnsa"; + break; + case USCRIPT_TOTO: + sRet = "txo-Toto"; + break; + case USCRIPT_VITHKUQI: + sRet = "sq-Vith"; // macrolanguage code + break; +#endif } return sRet; } |