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