Fix strange characters and pango warnings with LC_ALL=fr@euro. Patch & testing by...
authorpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 13 Jan 2009 06:03:12 +0000 (06:03 +0000)
committerpabs3 <pabs3@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 13 Jan 2009 06:03:12 +0000 (06:03 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2328 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/AUTHORS
synfig-core/trunk/src/synfig/main.cpp
synfig-core/trunk/src/tool/main.cpp

index eb8a2ee..8e6c4fe 100644 (file)
@@ -16,6 +16,7 @@ Carlos López González (genete)
 Gerco Ballintijn
 Daniel Hornung (rubikcube)
 Sean Bartell (wtachi)
+Cyril Brulebois (KiBi)
 
 Translators:
 
index 61a263b..9e0a56a 100644 (file)
@@ -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+"/..";
index 701bd67..fbff491 100644 (file)
@@ -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