From 9588e479a56efae52f3669e9662453603ce47560 Mon Sep 17 00:00:00 2001 From: pabs3 Date: Tue, 13 Jan 2009 06:03:12 +0000 Subject: [PATCH] Fix strange characters and pango warnings with LC_ALL=fr@euro. Patch & testing by Cyril Brulebois (KiBi). git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2328 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-core/trunk/AUTHORS | 1 + synfig-core/trunk/src/synfig/main.cpp | 1 + synfig-core/trunk/src/tool/main.cpp | 1 + 3 files changed, 3 insertions(+) diff --git a/synfig-core/trunk/AUTHORS b/synfig-core/trunk/AUTHORS index eb8a2ee..8e6c4fe 100644 --- a/synfig-core/trunk/AUTHORS +++ b/synfig-core/trunk/AUTHORS @@ -16,6 +16,7 @@ Carlos López González (genete) Gerco Ballintijn Daniel Hornung (rubikcube) Sean Bartell (wtachi) +Cyril Brulebois (KiBi) Translators: diff --git a/synfig-core/trunk/src/synfig/main.cpp b/synfig-core/trunk/src/synfig/main.cpp index 61a263b..9e0a56a 100644 --- a/synfig-core/trunk/src/synfig/main.cpp +++ b/synfig-core/trunk/src/synfig/main.cpp @@ -165,6 +165,7 @@ synfig::Main::Main(const synfig::String& basepath,ProgressCallback *cb): #ifdef ENABLE_NLS bindtextdomain("synfig", LOCALEDIR); + bind_textdomain_codeset("synfig", "UTF-8"); #endif String prefix=basepath+"/.."; diff --git a/synfig-core/trunk/src/tool/main.cpp b/synfig-core/trunk/src/tool/main.cpp index 701bd67..fbff491 100644 --- a/synfig-core/trunk/src/tool/main.cpp +++ b/synfig-core/trunk/src/tool/main.cpp @@ -1125,6 +1125,7 @@ int main(int argc, char *argv[]) #ifdef ENABLE_NLS bindtextdomain("synfig", LOCALEDIR); + bind_textdomain_codeset("synfig", "UTF-8"); textdomain("synfig"); #endif -- 2.7.4