Re: Pango warning: "Invalid UTF-8 string"



Roger Leigh wrote:
Are you *sure* the string is UTF-8 and that the umlaut is not an
8-bit Latin (ISO-8859-n) character?

It's an ordinary std::string. I also tried to convert it to a Glib::ustring but that didn't help.

Where is the umlaut coming from?

It's a filename, an std::string returned by Gnome::Vfs::FileInfo::get_name().

Cheers,
Matthias




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]