`zenity --info-text` cannot display utf-8 character

z_axis z_axis at 163.com
Sat Jun 1 12:06:07 UTC 2013


$sdcv -n kinda | zenity --text-info --width 530 --height 300
display messy things. however,

$cat sdcv.sh
#!/bin/sh
res=`sdcv -n $1`

if [ $? -eq 0 ]
then
zenity --info --text="$res"
else
zenity --error --text="No input provided"
fi

$sdcv.sh kinda
works great !


Sincerely!



More information about the freebsd-gnome mailing list