secs=$[ $opt_advance * 86400 ]
c_date=`date -d now+${secs}seconds +%d.%m`
-s_date=`LANG=$opt_lang date -d now+${secs}seconds "+$opt_dateform"`
+s_date=`LANG=$opt_lang date -d now+${secs}seconds "+$opt_dateform"|iconv -f utf8 -t iso8859-1`
tmp=`tempfile`
trap 'rm -f $tmp' INT EXIT
-calendar -l 0 -w 0 -t $c_date > $tmp
+calendar -l 0 -w 0 -t $c_date|iconv -c -f utf8 -t iso8859-1 > $tmp
if [ -s $tmp ]
then