GNOME Bugzilla – Bug 407275
Fails to handle unicode via stdin, only via --filename
Last modified: 2007-05-27 20:35:02 UTC
This bug was reported to the Debian BTS. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410728 "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."
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report. 2007-05-27 Lucas Rocha <lucasr@gnome.org> * src/text.c: correctly handle UTF-8 input text in the text info dialog (Fixes bug #407275).