aboutsummaryrefslogtreecommitdiff
path: root/common/ustr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/ustr.cpp')
-rw-r--r--common/ustr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ustr.cpp b/common/ustr.cpp
index b6845b2da4..ecc91bb189 100644
--- a/common/ustr.cpp
+++ b/common/ustr.cpp
@@ -430,7 +430,7 @@ static const uint32 g_windows1255ConversionTable[] = {0x20AC, 0x0081, 0x201A, 0x
U32String convertToU32String(const char *str, CodePage page) {
const String string(str);
- if (page == kAscii) {
+ if (page == kUtf8) {
return convertUtf8ToUtf32(string);
}