# HG changeset patch # User Torsten # Date 1423516176 -3600 # Node ID 3db04b75c7c0159c6592f840c1ba6143f0298cad # Parent 7335cc071ab034a6a2b979dd73795b91831cba20 do not set text encoding for strings to utf-8 on windows (bug #44103) * octave-gui.cc (octave_start_gui): only use setCodecForCStrings when not building for windows diff -r 7335cc071ab0 -r 3db04b75c7c0 libgui/src/octave-gui.cc --- a/libgui/src/octave-gui.cc Mon Feb 09 16:06:02 2015 -0500 +++ b/libgui/src/octave-gui.cc Mon Feb 09 22:09:36 2015 +0100 @@ -113,7 +113,9 @@ QTranslator gui_tr, qt_tr, qsci_tr; // Set the codec for all strings (before wizard) +#if not defined (Q_OS_WIN32) QTextCodec::setCodecForCStrings (QTextCodec::codecForName ("UTF-8")); +#endif // show wizard if this is the first run if (resource_manager::is_first_run ())