From: Hwankyu Jhun Date: Wed, 16 Aug 2017 07:52:14 +0000 (+0900) Subject: Fix the fallback about setting the current locale X-Git-Tag: submit/tizen_3.0/20170816.084229^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e893e2c63669cea92b2d9e074629fd2ca190ea87;p=platform%2Fcore%2Fappfw%2Fapp-core.git Fix the fallback about setting the current locale Change-Id: I532a3797d6c32fc443bcbfb2a97f87e540df9d31 Signed-off-by: Hwankyu Jhun --- diff --git a/src/appcore-i18n.c b/src/appcore-i18n.c index 90b1cf0..15307b7 100644 --- a/src/appcore-i18n.c +++ b/src/appcore-i18n.c @@ -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); }