Author: mir3x Date: Thu Dec 18 18:05:25 2014 New Revision: 27340 URL: http://svn.gna.org/viewcvs/freeciv?rev=27340&view=rev Log: Fixed encoding in city names.
See bug #23007 Modified: branches/S2_5/client/gui-qt/fc_client.cpp Modified: branches/S2_5/client/gui-qt/fc_client.cpp URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-qt/fc_client.cpp?rev=27340&r1=27339&r2=27340&view=diff ============================================================================== --- branches/S2_5/client/gui-qt/fc_client.cpp (original) +++ branches/S2_5/client/gui-qt/fc_client.cpp Thu Dec 18 18:05:25 2014 @@ -47,6 +47,7 @@ #if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8")); #endif + QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8")); /** * Somehow freeciv-client-common asks to switch to page when all widgets * haven't been created yet by Qt, even constructor finished job, _______________________________________________ Freeciv-commits mailing list Freeciv-commits@gna.org https://mail.gna.org/listinfo/freeciv-commits