Re: gtkmm 4: Glib::ustring: implicit conversions with streams

2016-12-20 Thread Jonathan Wakely
On 20 December 2016 at 09:26, Kjell Ahlstedt wrote: > > The conversions done by Glib::ustring are reasonable, at least if the read > or written stream uses the global locale. A std::locale contains a codecvt > facet, used for converting between one character encoding in the stream > (file) and a

Re: gtkmm 4: Glib::ustring: implicit conversions with streams

2016-12-20 Thread Kjell Ahlstedt
The conversions done by Glib::ustring are reasonable, at least if the read or written stream uses the global locale.A std::locale contains a codecvt facet, used for converting between one character encoding in the stream (file) and a possibly different character encoding in main memory. But

gtkmm 4: Glib::ustring: implicit conversions with streams

2016-12-02 Thread Murray Cumming
I guess now is the time to revisit this: https://mail.gnome.org/archives/gtkmm-list/2007-May/msg00061.html I think this is the bug comment that Daniel was referring to there: https://bugzilla.gnome.org/show_bug.cgi?id=93787#c3 Would anyone like to investigate and maybe prepare a patch? --