Set UTF-8 codepage (need for plugins on win32).

This commit is contained in:
Kolan Sh 2015-11-14 10:25:54 +03:00
parent 0a18267914
commit e7cf0fa9e9
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ void __attribute__ ((constructor)) load_library (void)
localePath = g_build_filename (soDir, "@LC_RELATIVE_PREFIX@/share/locale", NULL);
g_free (soDir);
bindtextdomain (GETTEXT_PACKAGE, localePath);
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
g_free (localePath);
@LC_COMMON_CODE@