Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 Jun 2013 19:49:50 +0800
From:      z_axis <z_axis@163.com>
To:        gnome@freebsd.org
Subject:   `zenity --info-text` cannot display utf-8 character
Message-ID:  <op.wxz0hcme1uofcn@redirector.netnames.net>

next in thread | raw e-mail | index | archive | help
$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!




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wxz0hcme1uofcn>