From 669c6f6613ba0cd9caa7fd55a2b9390a30ec2260 Mon Sep 17 00:00:00 2001 From: John Popplewell Date: Wed, 10 Aug 2005 17:41:45 +0000 Subject: [PATCH] Fix for French, German etc. Forces the strings returned by gettext() to be UTF-8. --- src/tuxpaint.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tuxpaint.c b/src/tuxpaint.c index ef9bd3730..20eaabbcd 100644 --- a/src/tuxpaint.c +++ b/src/tuxpaint.c @@ -723,6 +723,7 @@ static void set_current_language(void) loc = getenv("LANG"); } #else + bind_textdomain_codeset("tuxpaint", "UTF-8"); loc = getenv("LANGUAGE"); if (!loc) {