Hi,

"calmar" <[EMAIL PROTECTED]> writes:

> i have a gtk_text_view_new() in my program
> and i want to put there some text with this function:
> gtk_text_buffer_set_text ();
> 
> as long as i have normal characters in the buffer, it's works properly.
> when there are any special letters (which tend to be everywhere unless in
> english i guess (something like this: ä  æ ú ä ê ë ), it won't put the
> buffer to the text view anymore..it's just empty.

the text put into a GtkTextView (or any other GTK+-2.0 widget)
absolutely needs to be UTF-8 encoded. Glib provides a number of
functions that help you to convert from and to other encodings.


Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to