[prev in list] [next in list] [prev in thread] [next in thread]
List: gnome
Subject: Re: zenity weirdness with special characters
From: Julien Olivier <julo () altern ! org>
Date: 2005-05-13 9:16:19
Message-ID: 1115975779.19672.2.camel () localhost ! localdomain
[Download RAW message or body]
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@altern.org>
_______________________________________________
gnome-list mailing list
gnome-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gnome-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic