summaryrefslogtreecommitdiff
path: root/src/mbgl/util/i18n.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-10-18 17:33:27 +0200
committerKonstantin Käfer <mail@kkaefer.com>2018-10-23 12:23:40 +0200
commit282c71e8e9a8ec9c2eab612f2e60a71b15d24c8a (patch)
tree2d5a7d0f9b054af2686fe94dfa8c5690e8c92e72 /src/mbgl/util/i18n.cpp
parent729eeeb3f821981cc5d3c9e06ffbb85ed4d857d7 (diff)
downloadqtlocation-mapboxgl-282c71e8e9a8ec9c2eab612f2e60a71b15d24c8a.tar.gz
[core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp>
Diffstat (limited to 'src/mbgl/util/i18n.cpp')
-rw-r--r--src/mbgl/util/i18n.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/i18n.cpp b/src/mbgl/util/i18n.cpp
index 66c9e027a7..d9b0c20796 100644
--- a/src/mbgl/util/i18n.cpp
+++ b/src/mbgl/util/i18n.cpp
@@ -609,7 +609,7 @@ bool charInSupportedScript(char16_t chr) {
}
bool isStringInSupportedScript(const std::string& input) {
- auto u16string = util::utf8_to_utf16::convert(input);
+ auto u16string = util::convertUTF8ToUTF16(input);
for (char16_t chr : u16string) {
if (!charInSupportedScript(chr)) {
return false;