diff options
author | Eike Rathke <erack@redhat.com> | 2019-10-28 16:14:18 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2019-10-28 18:01:27 +0100 |
commit | 398e1e6ae83999eea8fb8c845190667695ac115f (patch) | |
tree | d3debf18606dde15bf1d3289aa38d9c2f57782d0 /i18nutil/source | |
parent | d13219b10a69a2533b1afe258edeadac2b5c0651 (diff) |
Upgrade to ICU 64.2
As an interim step to upgrade to ICU 65.1
Adds new scripts and Unicode blocks from Unicode 12.
Change-Id: Idc4a6b29ffb04bcb424522fcbd29a8db0428c056
Reviewed-on: https://gerrit.libreoffice.org/81611
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins
Diffstat (limited to 'i18nutil/source')
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index e8a6aadb16b9..95b455683833 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -749,6 +749,20 @@ OString unicode::getExemplarLanguageForUScriptCode(UScriptCode eScript) sRet = "sog"; break; #endif +#if (U_ICU_VERSION_MAJOR_NUM >= 64) + case USCRIPT_ELYMAIC: + sRet = "arc-Elym"; + break; + case USCRIPT_NYIAKENG_PUACHUE_HMONG: + sRet = "hmn-Hmnp"; // macrolanguage code + break; + case USCRIPT_NANDINAGARI: + sRet = "sa-Nand"; + break; + case USCRIPT_WANCHO: + sRet = "nnp-Wcho"; + break; +#endif } return sRet; } |