Re: zenity weirdness with special characters



Le jeudi 12 mai 2005 �9:29 -0400, DeadManMoving a �it :
> 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�_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�_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�_wenn?"

-> Works perfectly: no warning message, and �ppears as �2) echo "01-Lights_of_Euphoria-Was_w�_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 altern org>





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