[Gtk-sharp-list] Invalid UTF8 string
Tiago Lima
tiago.lima@vianw.pt
Sun, 22 Feb 2004 17:46:47 +0000
That is strange, because I tried an example and it gives me the same=20
warning... ? For example, doing this...=20
protected void OnKeyPress(object sender, KeyPressEventArgs args)
{
_pangoLayout.SetText("text is : " + (char)args.Event.keyval);
}
and pressing the "=E7" key... gives the warning... so i guess that I am doi=
ng=20
something wrong... !?
How do I get the pressed character like :
char pressedChar =3D ... ?
On Sunday 22 February 2004 17:28, Gonzalo Paniagua Javier wrote:
> El dom, 22-02-2004 a las 17:50, Tiago Lima escribi=F3:
> > Ok, but how do I convert to UTF8, for example, from a char that I recei=
ve
> > from a KeyPressEvent when I press the "=E7" key? :)
>
> That will already be in UTF8.
>
> -Gonzalo
>
>
> _______________________________________________
> Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list