Call bind_textdomain_codeset() on Mac OS X to permit rendering of foreign characters (eg. Arab).
This commit is contained in:
parent
299185478f
commit
687d59d947
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ int set_current_language(void)
|
||||||
|
|
||||||
bindtextdomain("tuxpaint", LOCALEDIR);
|
bindtextdomain("tuxpaint", LOCALEDIR);
|
||||||
/* Old version of glibc does not have bind_textdomain_codeset() */
|
/* Old version of glibc does not have bind_textdomain_codeset() */
|
||||||
#if defined __GLIBC__ && __GLIBC__ == 2 && __GLIBC_MINOR__ >=2 || __GLIBC__ > 2
|
#if defined __GLIBC__ && __GLIBC__ == 2 && __GLIBC_MINOR__ >=2 || __GLIBC__ > 2 || __APPLE__
|
||||||
bind_textdomain_codeset("tuxpaint", "UTF-8");
|
bind_textdomain_codeset("tuxpaint", "UTF-8");
|
||||||
#endif
|
#endif
|
||||||
textdomain("tuxpaint");
|
textdomain("tuxpaint");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue