diff libgui/src/octave-qt-event-listener.cc @ 15900:80e99730e5d4

gui: set locale to C before starting the interpreter * octave-main-thread.cc(run): set locale to C instead of en_US.UTF-8. * octave-qt-event-listener.cc(current_directory_has_changed): use the correct charset for emitting the signal with a new directory. * main-window.cc(change_current_working_directory,set_current_working_directory) use the correct charset when sending a new directory from the gui to octave. * history-dockwidget.cc(update_history_callback): use the correct chareset for displaying the history. * symbol-information.h: correct charset for displaying value in workspace view.
author Torsten <ttl@justmail.de>
date Sat, 05 Jan 2013 08:35:09 +0100
parents d90b426b9988
children d4b6ad43bc87
line wrap: on
line diff
--- a/libgui/src/octave-qt-event-listener.cc
+++ b/libgui/src/octave-qt-event-listener.cc
@@ -36,7 +36,7 @@
 octave_qt_event_listener::current_directory_has_changed (const std::string& directory)
 {
   emit current_directory_has_changed_signal
-    (QString::fromLocal8Bit (directory.data (), directory.size ()));
+    (QString::fromUtf8 (directory.data (), directory.size ()));
 }
 
 void