Fix the fallback about setting the current locale 08/144308/1 accepted/tizen/3.0/common/20170816.145347 accepted/tizen/3.0/ivi/20170816.131412 accepted/tizen/3.0/mobile/20170816.131404 accepted/tizen/3.0/tv/20170816.131432 accepted/tizen/3.0/wearable/20170816.131423 submit/tizen_3.0/20170816.084229
authorHwankyu Jhun <h.jhun@samsung.com>
Wed, 16 Aug 2017 07:54:54 +0000 (16:54 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Wed, 16 Aug 2017 07:54:54 +0000 (16:54 +0900)
Change-Id: I32833aaf30ccf52a2e823b8592689ba94c740691
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/appcore-watch-i18n.c

index 17db256..e89ad6b 100755 (executable)
@@ -46,7 +46,7 @@ void _update_lang(void)
 
                r = setlocale(LC_ALL, "");
                if (r == NULL) {
-                       r = setlocale(LC_ALL, "en_US"); /* LCOV_EXCL_LINE */
+                       r = setlocale(LC_ALL, "en_US.UTF-8"); /* LCOV_EXCL_LINE */
                        if (r) /* LCOV_EXCL_LINE */
                                _D("*****appcore setlocale=%s\n", r); /* LCOV_EXCL_LINE */
                }