Hello!
This code
<code>
#include <glibmm.h>
#include <iostream>
int main(int argc, char **argv) {
Glib::ustring ustr ( "hää?" );
try {
Glib::locale_from_utf8(ustr);
} catch (Glib::ConvertError& e) {
std::cout << e.what() << std::endl;
}
return 0;
}
</code>
produces
<output>
Invalid byte sequence in conversion input
</output>
Is this the normal behavior of glibmm? If not, can some of you compile
it and give me response, please.
Thanks in advance, Maik
PS:
I'm using
glib-2.12.1
glibmm-2.11.3
on a gentoo-linux x86 maschine with this
[EMAIL PROTECTED] ~ $ locale
LANG=de_DE.utf8
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=de_DE.utf8
locales.
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list