diff options
author | Filippos Karapetis | 2013-11-08 12:17:48 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-11-08 12:17:48 +0200 |
commit | 4af998b96cc2b0d3513ded57985c4d434cd362a4 (patch) | |
tree | 00f9c3dcf59120d5afa7d9aa784e6480fc6dd776 /engines/wintermute/utils/string_util.h | |
parent | 492cefacb6a242dc9a7eca3bbfe8f8bace635bd4 (diff) | |
download | scummvm-rg350-4af998b96cc2b0d3513ded57985c4d434cd362a4.tar.gz scummvm-rg350-4af998b96cc2b0d3513ded57985c4d434cd362a4.tar.bz2 scummvm-rg350-4af998b96cc2b0d3513ded57985c4d434cd362a4.zip |
WINTERMUTE: Move the isAscii() string changing code to another function
Diffstat (limited to 'engines/wintermute/utils/string_util.h')
-rw-r--r-- | engines/wintermute/utils/string_util.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/utils/string_util.h b/engines/wintermute/utils/string_util.h index 3ced6aa933..05931beb79 100644 --- a/engines/wintermute/utils/string_util.h +++ b/engines/wintermute/utils/string_util.h @@ -37,7 +37,8 @@ class StringUtil { public: static bool compareNoCase(const AnsiString &str1, const AnsiString &str2); //static bool compareNoCase(const WideString &str1, const WideString &str2); - static bool isAscii(Common::String &str); + static bool isAscii(const Common::String &str); + static Common::String substituteUtf8Characters(Common::String &str); static WideString utf8ToWide(const Utf8String &Utf8Str); static Utf8String wideToUtf8(const WideString &WideStr); static WideString ansiToWide(const AnsiString &str); |