From: <tz...@us...> - 2009-05-17 02:42:29
|
Revision: 3053 http://freeorion.svn.sourceforge.net/freeorion/revision/?rev=3053&view=rev Author: tzlaine Date: 2009-05-17 02:42:21 +0000 (Sun, 17 May 2009) Log Message: ----------- Updated the code that determines the Unicode code pages required by FO to reflect the fact that there is now a Latin Extended-A character in credits.xml. Modified Paths: -------------- trunk/FreeOrion/UI/ClientUI.cpp Modified: trunk/FreeOrion/UI/ClientUI.cpp =================================================================== --- trunk/FreeOrion/UI/ClientUI.cpp 2009-05-17 01:45:53 UTC (rev 3052) +++ trunk/FreeOrion/UI/ClientUI.cpp 2009-05-17 02:42:21 UTC (rev 3053) @@ -310,7 +310,9 @@ { static std::vector<GG::UnicodeCharset> retval; if (retval.empty()) { - const std::string CREDITS_STR = "Aö"; // Basic Latin and Latin-1 Supplement (character sets needed to display the credits page) + // Basic Latin, Latin-1 Supplement, and Latin Extended-A + // (character sets needed to display the credits page) + const std::string CREDITS_STR = "AöŁ"; std::set<GG::UnicodeCharset> credits_charsets = GG::UnicodeCharsetsToRender(CREDITS_STR); std::string file_name = GetOptionsDB().Get<std::string>("stringtable-filename"); |