[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src config.cpp
From: |
Yann Dirson |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src config.cpp |
Date: |
Sat, 04 Sep 2004 13:18:18 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Yann Dirson <address@hidden> 04/09/04 17:13:16
Modified files:
src : config.cpp
Log message:
interpret all textdomains as UTF-8
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/config.cpp.diff?tr1=1.105&tr2=1.106&r1=text&r2=text
Patches:
Index: wesnoth/src/config.cpp
diff -u wesnoth/src/config.cpp:1.105 wesnoth/src/config.cpp:1.106
--- wesnoth/src/config.cpp:1.105 Fri Sep 3 23:48:43 2004
+++ wesnoth/src/config.cpp Sat Sep 4 17:13:16 2004
@@ -1,4 +1,4 @@
-/* $Id: config.cpp,v 1.105 2004/09/03 23:48:43 Sirp Exp $ */
+/* $Id: config.cpp,v 1.106 2004/09/04 17:13:16 ydirson Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -757,6 +757,7 @@
current_textdomain =
value;
bindtextdomain(current_textdomain.c_str(),
get_intl_dir().c_str());
+ bind_textdomain_codeset
(current_textdomain.c_str(), "UTF-8");
std::cerr <<
"textdomain = " << value << " in "
<<
element_names.top() << "\n";
}