mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-10446 late ibmi fixes to fix regression in r34369
X-SVN-Rev: 34487
This commit is contained in:
parent
a6d8c66b64
commit
876caf41b7
1 changed files with 8 additions and 8 deletions
|
@ -394,15 +394,15 @@ LocaleDisplayNamesImpl::initialize(void) {
|
|||
}
|
||||
format = new MessageFormat(pattern, status);
|
||||
if (pattern.indexOf((UChar)0xFF08) >= 0) {
|
||||
formatOpenParen.setTo(0xFF08); // fullwidth (
|
||||
formatReplaceOpenParen.setTo(0xFF3B); // fullwidth [
|
||||
formatCloseParen.setTo(0xFF09); // fullwidth )
|
||||
formatReplaceCloseParen.setTo(0xFF3D); // fullwidth ]
|
||||
formatOpenParen.setTo((UChar)0xFF08); // fullwidth (
|
||||
formatReplaceOpenParen.setTo((UChar)0xFF3B); // fullwidth [
|
||||
formatCloseParen.setTo((UChar)0xFF09); // fullwidth )
|
||||
formatReplaceCloseParen.setTo((UChar)0xFF3D); // fullwidth ]
|
||||
} else {
|
||||
formatOpenParen.setTo(0x0028); // (
|
||||
formatReplaceOpenParen.setTo(0x005B); // [
|
||||
formatCloseParen.setTo(0x0029); // )
|
||||
formatReplaceCloseParen.setTo(0x005D); // ]
|
||||
formatOpenParen.setTo((UChar)0x0028); // (
|
||||
formatReplaceOpenParen.setTo((UChar)0x005B); // [
|
||||
formatCloseParen.setTo((UChar)0x0029); // )
|
||||
formatReplaceCloseParen.setTo((UChar)0x005D); // ]
|
||||
}
|
||||
|
||||
UnicodeString ktPattern;
|
||||
|
|
Loading…
Add table
Reference in a new issue