Bug#410728: zenity: fails to handle unicode via stdin, only via --filename

Neil Williams codehelp at debian.org
Mon Feb 12 23:13:41 CET 2007


Package: zenity
Version: 2.14.3-1
Severity: minor

I'd like to be able to use zenity in a set of scripts that output
unicode characters like £. zenity works fine with these scripts when
reading the --text-info content from a file but fails to display UTF-8
characters properly when the same content is passed to zenity via stdin.

$ echo "Character test for zenity: £" > test
$ cat test
Character test for zenity: £
$ zenity --text-info --filename test
  (zenity window displays:)
Character test for zenity: £
$ cat test | zenity --text-info
  (zenity window displays:)
Character test for zenity: £

It is midly annoying to have to create a temporary file (and remove it
later) when the rest of the script(s) can work using pipes.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-amd64-k8
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages zenity depends on:
ii  libart-2.0-2               2.3.17-1      Library of functions for 2D graphi
ii  libatk1.0-0                1.12.4-1      The ATK accessibility toolkit
ii  libc6                      2.3.6.ds1-11  GNU C Library: Shared libraries
ii  libcairo2                  1.2.4-4       The Cairo 2D vector graphics libra
ii  libfontconfig1             2.4.2-1       generic font configuration library
ii  libglade2-0                1:2.6.0-4     library to load .glade files at ru
ii  libglib2.0-0               2.12.6-2      The GLib library of C routines
ii  libgnomecanvas2-0          2.14.0-2      A powerful object-oriented display
ii  libgtk2.0-0                2.8.20-5      The GTK+ graphical user interface 
ii  libice6                    1:1.0.1-2     X11 Inter-Client Exchange library
ii  libpango1.0-0              1.14.8-5      Layout and rendering of internatio
ii  libsm6                     1:1.0.1-3     X11 Session Management library
ii  libx11-6                   2:1.0.3-5     X11 client-side library
ii  libxcursor1                1.1.7-4       X cursor management library
ii  libxext6                   1:1.0.1-2     X11 miscellaneous extension librar
ii  libxfixes3                 1:4.0.1-5     X11 miscellaneous 'fixes' extensio
ii  libxi6                     1:1.0.1-4     X11 Input extension library
ii  libxinerama1               1:1.0.1-4.1   X11 Xinerama extension library
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library
ii  libxrandr2                 2:1.1.0.2-5   X11 RandR extension library
ii  libxrender1                1:0.9.1-3     X Rendering Extension client libra
ii  scrollkeeper               0.3.14-12     A free electronic cataloging syste

zenity recommends no packages.

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list