diff options
-rw-r--r-- | common/ustr.cpp | 2 | ||||
-rw-r--r-- | common/ustr.h | 4 |
2 files changed, 3 insertions, 3 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); } diff --git a/common/ustr.h b/common/ustr.h index 219d46293d..d5e8f8298d 100644 --- a/common/ustr.h +++ b/common/ustr.h @@ -196,14 +196,14 @@ private: U32String convertUtf8ToUtf32(const String &str); enum CodePage { - kAscii, + kUtf8, kWindows1250, kWindows1251, kWindows1252, kWindows1255 }; -U32String convertToU32String(const char *str, CodePage page = kAscii); +U32String convertToU32String(const char *str, CodePage page = kUtf8); } // End of namespace Common |