[Gtk-sharp-list] Invalid UTF8 string

Miguel de Icaza miguel@ximian.com
Sun, 22 Feb 2004 12:28:20 -0500


Hello,

> Ok, but how do I convert to UTF8, for example, from a char that I receive=
 from=20
> a KeyPressEvent when I press the "=E7" key? :)

Well, if it is an 8-bit char, you need to use the Encoding class
(UTF8.Encode) to get the Unicode string.