--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: beer is not properly non-utf-8-clean
- From: Klaus Ethgen <Klaus@Ethgen.de>
- Date: Fri, 3 Jul 2009 11:59:08 +0100
- Message-id: <20090703105906.GA24015@ikki.ethgen.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Package: gerstensaft
Version: 0.3-4
Severity: important
Tags: l10n
I do not know if the tagging is correct, so feel free to change it.
Short error description:
~> beer
(beer:23763): Gtk-WARNING **: Invalid input string
(beer:23763): Gtk-WARNING **: Invalid input string
(beer:23763): Gtk-WARNING **: Invalid input string
(beer:23763): Gtk-WARNING **: Invalid input string
(beer:23763): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Speicherzugriffsfehler
Long description and possible workaround:
I have the locales set to de_DE (without utf-8!). That is fine for the
console but if it is used to localize GTK+ graphical output that is
wrong behaviour as gtk+ strings have to be always encoded in utf-8!
(There exists proper handling in glib and gtk.)
The segmentation fault (Speicherzugriffsfehler in German) can be worked
around by starting with "env LC_ALL=de_DE.utf8 beer". However, I still
get errors for invalid UTF-8 strings from pango as the file system is
latin1. But the application will start at least.
Please convert the strings properly before passing them to pango or
gtk+.
- -- System Information:
Debian Release: 5.0.2
APT prefers stable
APT policy: (800, 'stable'), (700, 'oldstable'), (600, 'unstable'), (60, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28.7
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)
Shell: /bin/sh linked to /bin/dash
Versions of packages gerstensaft depends on:
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libcairo2 1.6.4-7 The Cairo 2D vector graphics libra
ii libglib2.0-0 2.16.6-2 The GLib library of C routines
ii libgtk2.0-0 2.12.12-1~lenny1 The GTK+ graphical user interface
ii libpango1.0-0 1.20.5-5 Layout and rendering of internatio
ii sendfile 2.1b.20080616-2 Simple Asynchronous File Transfer
gerstensaft recommends no packages.
gerstensaft suggests no packages.
- -- no debconf information
- --
Klaus Ethgen http://www.ethgen.de/
pub 2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus@Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQEVAwUBSk3kep+OKpjRpO3lAQo89QgAkqnk004W0mlIjcmi2UjMXHKXJ8M51Fa3
dmL3YDsL1JEQFhXLupf4UYOhEk9/nQIpLAvDT0CkSwXPNZXlx+xAkzFOVpdWeQBS
hjzlpAKYvuzWKKVzgXLOUhEHrDVly6STKHusFHUqNItyW2hZ2R82HYiajEOF+QUc
AIk3vImXv4SeryQknc2VbX37Hp10AMnJL7SbcK0863IACKUrTVh8dwRk3a2me8hr
YTpamBQ8v08csZ8hXnllnbR2XnYL6+O6LbV2hcB/ko2Z4Kh2aEUxFuRa9AbVmPPN
HJxbFYCQM9waVNZrMJUkg4IDt4a0sU2I8VU0sAQjrJ8nUGBIBziveg==
=vVT2
-----END PGP SIGNATURE-----
--- End Message ---