Re: Help using std::getline with Glib::ustring



You need to use std::string, and then construct a Glib::ustring from the std::string when you need UTF-8 functionality.

2008/5/30 Jamiil <arbolone gmail com>:
std::string stddata;
std::getline( somefile, stddata, '^' );

is there a way to do this
Glib::ustring stddata;
std::getline( somefile, stddata, '^' );

??
What would be the GTKmm version ??


Thanks in advance

--
Happiness has many doors, and when one of them closes another opens, yet we spent so much time looking at the one that is shut that we don't see the one that just opened..

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



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