Uncommit changes for "bind_textdomain_codeset". Apparently windows gettext
authorTon Roosendaal <ton@blender.org>
Wed, 24 Nov 2004 12:11:06 +0000 (12:11 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 24 Nov 2004 12:11:06 +0000 (12:11 +0000)
doesn't have this function, needs to be updated in lib/ dir.

We also dont have official maintainer for internationalization...

source/blender/ftfont/intern/FTF_TTFont.cpp

index 5be311a4f1014249b18887f809146e91f67abf6d..ff599e9444cb2bb2ccc472f65d4e82bf09a210ed 100644 (file)
@@ -226,7 +226,7 @@ void FTF_TTFont::SetLanguage(char* str)
 
 
        bindtextdomain(DOMAIN_NAME, messagepath);
-       bind_textdomain_codeset(DOMAIN_NAME, encoding_name);
+//     bind_textdomain_codeset(DOMAIN_NAME, encoding_name);
        textdomain(DOMAIN_NAME);
 
        strcpy(language, str);
@@ -236,7 +236,7 @@ void FTF_TTFont::SetLanguage(char* str)
 void FTF_TTFont::SetEncoding(char* str)
 {
        strcpy(encoding_name, str);
-       bind_textdomain_codeset(DOMAIN_NAME, encoding_name);
+//     bind_textdomain_codeset(DOMAIN_NAME, encoding_name);
 }