From 588364a499b04ca14de408153e2d09ac57f0ae99 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 8 Oct 2004 06:07:27 +0000 Subject: [PATCH] ICU-4078 Depend less on the default converter X-SVN-Rev: 16425 --- icu4c/source/i18n/cpdtrans.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/icu4c/source/i18n/cpdtrans.cpp b/icu4c/source/i18n/cpdtrans.cpp index 8ea418f8e95..fa3b5589563 100644 --- a/icu4c/source/i18n/cpdtrans.cpp +++ b/icu4c/source/i18n/cpdtrans.cpp @@ -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