Author: mir3x
Date: Thu Dec 18 18:05:55 2014
New Revision: 27341

URL: http://svn.gna.org/viewcvs/freeciv?rev=27341&view=rev
Log:
Fixed encoding in city names.

See bug #23007



Modified:
    trunk/client/gui-qt/fc_client.cpp

Modified: trunk/client/gui-qt/fc_client.cpp
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/client/gui-qt/fc_client.cpp?rev=27341&r1=27340&r2=27341&view=diff
==============================================================================
--- trunk/client/gui-qt/fc_client.cpp   (original)
+++ trunk/client/gui-qt/fc_client.cpp   Thu Dec 18 18:05:55 2014
@@ -44,6 +44,7 @@
 ****************************************************************************/
 fc_client::fc_client() : QMainWindow()
 {
+  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

Reply via email to