Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failedMy code:
ostringstream str;
str << "SDES("<< source.getNetworkAddress() <<");\n";
Glib::RefPtr refTextBuffer = notebook->textview_sdes->get_buffer();
Gtk::TextBuffer::iterator iter = refTextBuffer->get_iter_at_offset(0);
refTextBuffer->insert(iter, Glib::convert (str.str(), "UTF-8", "ISO8859-1"));
without Glib::convert (str.str(), "UTF-8", "ISO8859-1") - only with str.str() is emited the same error message.
Could anyone help me?
View this message in context: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate
Sent from the Gtkmm forum at Nabble.com.
_______________________________________________ gtkmm-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gtkmm-list
