Murray Cumming wrote:
If you are getting the filename from the FileChooser, the "Note:" here
might be helpful:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1FileChooser.html

std::string -> ustring involves an automatic encoding conversion, so
that might be confusing things.

Hm, no, the std::stringS come from Gnome::Vfs::FileInfo::get_name().
Converting them to a ustring using filename_to_utf8() does, well, nothing. Most surprisingly locale_to_utf8() works in this case.

Regards,
Matthias

--
Matthias Kaeppler

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

Reply via email to