diff --git a/icu4c/source/i18n/translit.cpp b/icu4c/source/i18n/translit.cpp index 3437e13aa3..98e26aaeba 100644 --- a/icu4c/source/i18n/translit.cpp +++ b/icu4c/source/i18n/translit.cpp @@ -19,6 +19,7 @@ #include "unicode/jamohang.h" #include "unicode/locid.h" #include "unicode/msgfmt.h" +#include "unicode/name2uni.h" #include "unicode/nultrans.h" #include "unicode/putil.h" #include "unicode/rep.h" @@ -28,10 +29,10 @@ #include "unicode/tolowtrn.h" #include "unicode/toupptrn.h" #include "unicode/translit.h" +#include "unicode/uni2name.h" #include "unicode/unifilt.h" #include "unicode/uniset.h" #include "unicode/unitohex.h" -#include const UChar Transliterator::ID_SEP = 0x002D; /*-*/ const UChar Transliterator::ID_DELIM = 0x003B; /*;*/ @@ -975,6 +976,8 @@ void Transliterator::initializeCache(void) { _registerInstance(new LowercaseTransliterator(), status); _registerInstance(new UppercaseTransliterator(), status); _registerInstance(new TitlecaseTransliterator(), status); + _registerInstance(new UnicodeNameTransliterator(), status); + _registerInstance(new NameUnicodeTransliterator(), status); cacheInitialized = TRUE; }