[Gtk-sharp-list] Invalid UTF8 string

Tiago Lima tiago.lima@vianw.pt
Sun, 22 Feb 2004 16:50:16 +0000


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

Thanks,
	Tiago Lima

On Sunday 22 February 2004 15:53, Gonzalo Paniagua Javier wrote:
> El dom, 22-02-2004 a las 13:19, Tiago Lima escribi=F3:
> > Here is an example with the warning:
>
> [...]
>
> > 			_pangoLayout.SetText("=E7");
>
> [...]
>
> When saving your source file, ensure it's encoded in UTF-8. Otherwise,
> that '=E7' will be in your default encoding.
>
> -Gonzalo
>
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list