2008/7/13 Sohail Somani <
sohail taggedtype net>:
Hi,
The following code works fine on Linux but dies on Windows when run in the console:
#include <gtkmm.h>
int main()
{
setlocale(LC_ALL,0);
// Should output aleph
std::cout << Glib::ustring("\xd7\x90") << std::endl
}
The error is: "Invalid byte sequence in conversion input"
Has anyone tried UTF-8 with Glib on Windows? What else do I need to do?
Thanks,
Sohail
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list