1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Tell gettext that we want to have the messages in the UTF-8 encoding, to

avoid the extra conversion that gettext would otherwise perform (from the
message encoding which is UTF-8 to the current locale encoding).
This commit is contained in:
dan
2004-10-17 07:17:03 +00:00
parent 6cfad0b10f
commit 737328566f
3 changed files with 3 additions and 0 deletions

View File

@@ -778,6 +778,7 @@ real_main(int argc, char **argv)
bindtextdomain("WindowMaker", getenv("NLSPATH"));
else
bindtextdomain("WindowMaker", LOCALEDIR);
bind_textdomain_codeset("WindowMaker", "UTF-8");
textdomain("WindowMaker");
if (!XSupportsLocale()) {