Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate
- From: radone <debianuser seznam cz>
- To: gtkmm-list gnome org
- Subject: Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate
- Date: Sat, 25 Feb 2006 01:27:31 -0800 (PST)
I got this error message:
Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
My 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]