mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-4078 There is no need to use the default locale for foldCase as stated by Markus.
X-SVN-Rev: 16420
This commit is contained in:
parent
be8e4abcfe
commit
19e709ced5
1 changed files with 4 additions and 1 deletions
|
@ -131,7 +131,10 @@ UnicodeString::toTitle(BreakIterator *titleIter, const Locale &locale) {
|
|||
|
||||
UnicodeString &
|
||||
UnicodeString::foldCase(uint32_t options) {
|
||||
return caseMap(0, Locale::getDefault(), options, FOLD_CASE);
|
||||
/* The Locale parameter isn't used.
|
||||
We pick a random non-case specific locale that is created cheaply.
|
||||
*/
|
||||
return caseMap(0, Locale::getEnglish(), options, FOLD_CASE);
|
||||
}
|
||||
|
||||
UnicodeString &
|
||||
|
|
Loading…
Add table
Reference in a new issue