Re: Pango warning: "Invalid UTF-8 string"
- From: Matthias Kaeppler <nospam digitalraid com>
- To: gtkmm-list gnome org
- Subject: Re: Pango warning: "Invalid UTF-8 string"
- Date: Mon, 18 Jul 2005 10:53:24 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]