[gtkada] How to store an UTF8-String

Adrian Knoth adi at drcomp.erfurt.thur.de
Sun Dec 22 15:28:57 CET 2002


On Sun, Dec 22, 2002 at 03:19:42PM +0100, Adrian Knoth wrote:

> It's for sure that GtkAda is correct, because the following line
> returns a NULL-pointer:
> g_locale_to_utf8 ("ä", strlen ("ä"), NULL, NULL, NULL) == NULL)
> Perhaps some variables need to be set via Gtk.Main?

... but if you call gtk_init() before, everything works well. I'm so
stupid :)


-- 
mail: adi at thur.de  	http://adi.thur.de	PGP: v2-key via keyserver

Lieber hungrig als die Schnauze voll!




More information about the gtkada mailing list