Fix the fallback about setting the current locale 07/144307/1 accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen/3.0/common/20170816.145349 accepted/tizen/3.0/ivi/20170816.131415 accepted/tizen/3.0/mobile/20170816.131406 accepted/tizen/3.0/tv/20170816.131435 accepted/tizen/3.0/wearable/20170816.131426 submit/tizen_3.0/20170816.084229
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 16 Aug 2017 07:52:14 +0000 (16:52 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 16 Aug 2017 07:52:14 +0000 (16:52 +0900)
Change-Id: I532a3797d6c32fc443bcbfb2a97f87e540df9d31
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/appcore-i18n.c

index 90b1cf044413524f5250401a12ed38e1ddaa5a94..15307b7661f47de94770bff24ab3a0a9bc661feb 100644 (file)
@@ -47,7 +47,7 @@ void update_lang(void)
 
                r = setlocale(LC_ALL, "");
                if (r == NULL) {
-                       r = setlocale(LC_ALL, "en_US");
+                       r = setlocale(LC_ALL, "en_US.UTF-8");
                        if (r != NULL)
                                _DBG("*****appcore setlocale=%s\n", r);
                }