diff options
author | Hao Feng <hao.feng@intel.com> | 2009-03-20 16:15:16 +0800 |
---|---|---|
committer | Hao Feng <hao.feng@intel.com> | 2009-03-20 16:15:16 +0800 |
commit | ad884a7b8cae7a1c3d973c8032d4f78ef7c96b80 (patch) | |
tree | ef08a2a154b4f572ba61c8d5fc2e778656829996 /icu/src/main/native | |
parent | 6ca5d030c20aa8c513491813df05c00575fac3a1 (diff) | |
download | libcore-ad884a7b8cae7a1c3d973c8032d4f78ef7c96b80.zip libcore-ad884a7b8cae7a1c3d973c8032d4f78ef7c96b80.tar.gz libcore-ad884a7b8cae7a1c3d973c8032d4f78ef7c96b80.tar.bz2 |
add comments for the UTF-8 string creation patch
Diffstat (limited to 'icu/src/main/native')
-rw-r--r-- | icu/src/main/native/ResourceInterface.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/icu/src/main/native/ResourceInterface.cpp b/icu/src/main/native/ResourceInterface.cpp index 5f9d442..442d688 100644 --- a/icu/src/main/native/ResourceInterface.cpp +++ b/icu/src/main/native/ResourceInterface.cpp @@ -1207,7 +1207,8 @@ endOfCalendar: intCurrencySymbol = env->NewStringUTF("XXX"); } if(currencySymbol == NULL) { - currencySymbol = env->NewStringUTF("\u00a4"); + // creating a new string explicitly with the UTF-8 encoding of "\u00a4" + currencySymbol = env->NewStringUTF("\xc2\xa4"); } counter += 2; |