[Gtk-sharp-list] Some widgets and UTF8

Dr. McArrow dr_mcarrow at mail.ru
Tue Feb 6 10:12:43 EST 2007


hi!
try this
int int_c = 0x00f6;
char char_c = Convert.ToChar(c);
Console.WriteLine(char_c);

on my system (SuSE Linux 10.1 & Mono 1.2) I see correct character :)

On Tue, 06 Feb 2007 16:56:42 +0200, Petteri Kautonen  
<petteri.kautonen at pp.inet.fi> wrote:

> Hi,
> I'm having a problem getting Gtk.ToolButton to show an UTF8 string when
> the text is custom (non stock).
> The problem exists only when I try to create ToolButton at runtime. The
> problem is with unicode characters ä (0x00e4) and ö (0x00f6) which will
> not show at all.
> If I create the gui using Glade, these characters show all right. Also
> if some stock buttons translate to use ä or ö there is no problem and
> other widgets show those character fine.
> Any ideas how to fix this?
>
> System info: WinXP SP2, Mono 1.2.2.1, #develop 2.1 build 2201
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>



-- 
Dr.McArrow


More information about the Gtk-sharp-list mailing list