Chromium Code Reviews

Unified Diff: source/i18n/collationruleparser.cpp

Issue 2440913002: Update ICU to 58.1
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « source/i18n/collationruleparser.h ('k') | source/i18n/collationsets.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/i18n/collationruleparser.cpp
diff --git a/source/i18n/collationruleparser.cpp b/source/i18n/collationruleparser.cpp
index 2d2e25fcb0e1d48ee3ef4c57fdfe7a35d9ac364b..ea3ea66bc08cf5ea32bd38c91ba5dafb4a82405f 100644
--- a/source/i18n/collationruleparser.cpp
+++ b/source/i18n/collationruleparser.cpp
@@ -1,3 +1,5 @@
+// Copyright (C) 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
*******************************************************************************
* Copyright (C) 2013-2015, International Business Machines
@@ -788,7 +790,7 @@ CollationRuleParser::readWords(int32_t i, UnicodeString &raw) const {
return i;
}
if(PatternProps::isWhiteSpace(c)) {
- raw.append(0x20);
+ raw.append(sp);
i = skipWhiteSpace(i + 1);
} else {
raw.append(c);
« no previous file with comments | « source/i18n/collationruleparser.h ('k') | source/i18n/collationsets.h » ('j') | no next file with comments »

Powered by Google App Engine