Re: Pango warning: "Invalid UTF-8 string"
- From: Roger Leigh <rleigh whinlatter ukfsn org>
- To: gtkmm-list gnome org
- Subject: Re: Pango warning: "Invalid UTF-8 string"
- Date: Sun, 17 Jul 2005 20:06:26 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthias Kaeppler <nospam digitalraid com> writes:
> whenever I try to display strings in a TreeView which have German
> umlauts in it, they aren't rendered and I get a warning:
>
> (duality.elf:4613): Pango-WARNING **: Invalid
> UTF-8 string passed to pango_layout_set_text()
>
> The strings I display are std::stringS, but I also tried to
> construct Glib::ustringS from them without luck.
>
> Any idea how I can get rid of these errors?
Are you *sure* the string is UTF-8, and that the umlaut is not an
8-bit Latin (ISO-8859-n) character? Where is the umlaut coming from?
The command-line, a file, the program source? Are you totally sure of
its encoding?
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFC2qwxVcFcaSW/uEgRAnhsAJ0R5OzUJtURpFpxNM9oQevo1pvqtACgq2Mx
aBBmQkVNmKp/hT/5t8DhErU=
=XQ+8
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]