Thanks for that in-depth answer Chris.
I'd have another question though. First, what's the difference between
these two conversions:
std::string ascii = "text";
// what's the difference between this ...
Glib::ustring unicode = ascii;
// ... and this?
Glib::ustring unicode = Glib::locale_to_utf8(ascii);
Furthermore, do I have to wrap every line of text into a call to
Glib::locale_to_utf8()? For example if I define a widget text somewhere,
do I have to do it like this:
#define WIDGET_LABEL Glib::locale_to_utf8("BUTTON")
...
widget.set_text(WIDGET_LABEL);
and what could happen if I don't make the conversion?
Thanks,
Matthias
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtkmm-list