mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-07 00:35:53 +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:
@@ -43,6 +43,7 @@ WMInitializeApplication(char *applicationName, int *argc, char **argv)
|
||||
bindtextdomain("WINGs", getenv("NLSPATH"));
|
||||
else
|
||||
bindtextdomain("WINGs", LOCALEDIR);
|
||||
bind_textdomain_codeset("WINGs", "UTF-8");
|
||||
#endif
|
||||
|
||||
_WINGS_progname = argv[0];
|
||||
|
||||
Reference in New Issue
Block a user