aboutsummaryrefslogtreecommitdiff
path: root/libsylph/codeconv.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-06-05 09:22:37 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-06-05 09:22:37 +0000
commit6ba65c2327dac6a587e594321e5de7bd5eaa91e2 (patch)
tree572d11613abe1288141c406c86b3e0684411a04a /libsylph/codeconv.c
parent0cbec91fdf8683919bf762f642c41ca5093aa7af (diff)
fixed some character corruption with ...utf8 locale string.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2004 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/codeconv.c')
-rw-r--r--libsylph/codeconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsylph/codeconv.c b/libsylph/codeconv.c
index 194c245e..6408372d 100644
--- a/libsylph/codeconv.c
+++ b/libsylph/codeconv.c
@@ -1898,7 +1898,7 @@ CharSet conv_get_locale_charset(void)
return cur_charset;
}
- if (strcasestr(cur_locale, "UTF-8")) {
+ if (strcasestr(cur_locale, "UTF-8") || strcasestr(cur_locale, "utf8")) {
cur_charset = C_UTF_8;
return cur_charset;
}