Re: Gtk::ustring and std::getline()
- From: Hubert Figuiere <hub figuiere net>
- To: gtkmm-list gnome org
- Subject: Re: Gtk::ustring and std::getline()
- Date: Mon, 05 May 2008 13:53:04 -0400
On Mon, 2008-05-05 at 13:40 -0400, Jamiil wrote:
> ==== snip ====
> std::string stdstr;
> Glib::ustring glibstr;
> std::getline( file_source, /*glibstr*/stdstr, '^' );
> glibstr = stdstr;
> This is a patch up job, a very bad solution, but I hope that with our
> help it will be a temporarily one. I don't want to use the UTF8
> of ustring!
> What can I do?
Why do you need a Glib::ustring?
If all you need is store UTF-8 std::string works fine.
] [Thread Prev