force UTF-8 handling of i18n files at run time
git-svn-id: svn://localhost/ardour2/trunk@1358 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
d25718377d
commit
63daceea64
@ -367,6 +367,11 @@ int main (int argc, char *argv[])
|
|||||||
gtk_set_locale ();
|
gtk_set_locale ();
|
||||||
|
|
||||||
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
(void) bindtextdomain (PACKAGE, LOCALEDIR);
|
||||||
|
/* our i18n translations are all in UTF-8, so make sure
|
||||||
|
that even if the user locale doesn't specify UTF-8,
|
||||||
|
we use that when handling them.
|
||||||
|
*/
|
||||||
|
(void) bind_textdomain_codeset (PACKAGE,"UTF-8");
|
||||||
(void) textdomain (PACKAGE);
|
(void) textdomain (PACKAGE);
|
||||||
|
|
||||||
pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, 0);
|
pthread_setcanceltype (PTHREAD_CANCEL_ASYNCHRONOUS, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user