Index: Source/platform/text/PlatformLocale.cpp |
diff --git a/Source/platform/text/PlatformLocale.cpp b/Source/platform/text/PlatformLocale.cpp |
index 60acf5a59ba7e7e0b5abb69a3a4ca862ac4f605e..bef3a3bf31ffe08c59573632d25ac4a6e06fe78c 100644 |
--- a/Source/platform/text/PlatformLocale.cpp |
+++ b/Source/platform/text/PlatformLocale.cpp |
@@ -351,7 +351,7 @@ unsigned Locale::matchedDecimalSymbolIndex(const String& input, unsigned& positi |
String Locale::convertFromLocalizedNumber(const String& localized) |
{ |
initializeLocaleData(); |
- String input = localized.stripWhiteSpace(); |
+ String input = localized.removeCharacters(isASCIISpace); |
if (!m_hasLocaleData || input.isEmpty()) |
return input; |