Re: locale_to_utf8 crashes on WinXP with Gtkmm 2.8.4 / Glibmm 2.8.6 and Gtk+ 2.8.18 / Glib 2.10.3



Vinzenz 'evilissimo' Feenstra schrieb:
Murray Cumming schrieb:
On Sat, 2006-06-03 at 01:19 +0200, Vinzenz 'evilissimo' Feenstra wrote:
Hi,

I'm trying to use a string with german umlauts in an application and Glib::locale_to_utf8 returns an invalid string.
If I execute this:

Glib::ustring test = Glib::locale_to_utf8("��);

and I retrieve an invalid object Glib::ustring the debugger shows me an Bad Pointer in this object.

I'm wondering if this _can_ be a Glibmm problem or if it is more a Glib problem?

Btw anyone knows another GTK+ package like this one from gladewin32.sf.net?

This doesn't solve your problem, but: This should be caught by an
exception, I think.

The other Gtk+ Package shouldn't be a solution for the problem ;)

BR
Vinzenz
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Hmm Strange thing, I was something to fast, I think, because if I try the same in Release mode everything wents fine.

But it is strange anyway that the string is not valid in Debug Mode. However for me the issue is solved ;)

BR
Vinzenz



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]