Re: zenity weirdness with special characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le jeudi 12 mai 2005 Ã 19:29 -0400, DeadManMoving a Ãcrit :
> Hi list,
> 
> i'm experiencing a weird problem with zenity;
> 
> when i try to make it display some special characters (like example : Ã)
> in a checklist list dialog with a command like this one :
>  
> 
> zenity --list --checklist --column "Choose" --column "Tracks" TRUE \
> "1-Lights_of_Euphoria-Was_wÃre_wenn?"
> 
> 
> it does not work quite well and i have the following errors :
> 
> 
> (zenity:11569): Pango-WARNING **: Invalid UTF-8 string passed to
> pango_layout_set_text()
> 
> 
> What is puzzling me is that if i try another command like this one :
> 
> 
> echo "01-Lights_of_Euphoria-Was_wÃre_wenn?" | zenity --text-info \
> --title="Audio rip" --width=800 --height=600
> 
> 
> that one work without a glitch and everything is dysplayed normally.
> 
> I've tried a bunch of locale combination with no luck.
> 
> Any clue?!
> 

My answer will probably be quite useless, but i tried the very same
things on a system with LANG=fr_FR.UTF-8, and here is what I get:

1) zenity --list --checklist --column "Choose" --column "Tracks" TRUE \
"1-Lights_of_Euphoria-Was_wÃre_wenn?"

-> Works perfectly: no warning message, and à appears as Ã

2) echo "01-Lights_of_Euphoria-Was_wÃre_wenn?" | zenity --text-info \
--title="Audio rip" --width=800 --height=600

-> I get no warning message either, but I get the following string:
01-Lights_of_Euphoria-Was_wÃÂre_wenn?

-- 
Julien Olivier <julo@xxxxxxxxxx>


_______________________________________________
gnome-list mailing list
gnome-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gnome-list

[Index of Archives]     [Fedora Desktop]     [Trinity Users]     [KDE]     [Gimp]     [Yosemite News]

  Powered by Linux