summaryrefslogtreecommitdiff
blob: a81d90282f3862c95c341375b315c8a0a65352e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/src/main_window.cc
+++ b/src/main_window.cc
@@ -488,7 +488,7 @@
 {
     Glib::RefPtr<Gtk::TextBuffer> buffer = main_window_output->get_buffer();
     Gtk::TextIter end = buffer->end();
-    buffer->insert(buffer->end(),text->c_str());
+    buffer->insert(buffer->end(),Glib::convert (text->c_str(), "UTF-8", "ISO-8859-1"));
 } 
 
 void main_window::set_ui_running(bool running)