mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-4078 Depend less on the default converter
X-SVN-Rev: 16425
This commit is contained in:
parent
7674c243d1
commit
588364a499
1 changed files with 2 additions and 1 deletions
|
@ -26,6 +26,7 @@ static const UChar NEWLINE = 10;
|
|||
|
||||
// Empty string
|
||||
static const UChar EMPTY[] = {0}; //""
|
||||
static const UChar COLON_COLON[] = {0x3A, 0x3A, 0}; //"::"
|
||||
|
||||
U_NAMESPACE_BEGIN
|
||||
|
||||
|
@ -362,7 +363,7 @@ UnicodeString& CompoundTransliterator::toRules(UnicodeString& rulesSource,
|
|||
// If we are a compound RBT and if we have a global
|
||||
// filter, then emit it at the top.
|
||||
UnicodeString pat;
|
||||
rulesSource.append("::").append(getFilter()->toPattern(pat, escapeUnprintable)).append(ID_DELIM);
|
||||
rulesSource.append(COLON_COLON).append(getFilter()->toPattern(pat, escapeUnprintable)).append(ID_DELIM);
|
||||
}
|
||||
for (int32_t i=0; i<count; ++i) {
|
||||
UnicodeString rule;
|
||||
|
|
Loading…
Add table
Reference in a new issue