[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnome
Subject:    Re: zenity weirdness with special characters
From:       Abel Cheung <deaddog.abel () gmail ! com>
Date:       2005-05-16 8:03:17
Message-ID: bf3156cf050516010316374c29 () mail ! gmail ! com
[Download RAW message or body]

On 5/13/05, Julien Olivier <julo@altern.org> wrote:
> 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:
> 
> 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?

zenity expects UTF-8 string, so it is likely that non-UTF8 strings are
unusable here. But about --text-info option, it looks like the string 
is transformed from iso-8859-1 into UTF-8 _BYTE-BY-BYTE_. It renders
garbage for other, especially multibyte, characters.

Abel


> 
> --
> Julien Olivier <julo@altern.org>
> 
> 
> _______________________________________________
> gnome-list mailing list
> gnome-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gnome-list
>
_______________________________________________
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