Re: [Nautilus-list] non latin-1 icon text of desktop icons and others are broken



On 2/15/02 10:41 AM, "KUSANO Takayuki" <AE5T-KSN asahi-net or jp> wrote:

> Nautlius HEAD can't display icon text of desktop icons correctly on
> non-latin-1 locale. They are displayed as '???? (invalid Unicode)'.
> 
> These are caused by validated_strdup() function in
> libnautilus-private/nautilus-desktop-file-loader.c.
> 
> I've replaced validated_strduop() with g_strdup() and nautilus becomes to
> work fine (LANG=ja_JP.eucJP).
> 
> I think encoding conversion (utf-8 -> locale encoding) is not needed
> on GNOME 2 environment.

Thanks for the report.

You're right, this code to convert from UTF-8 to a locale encoding is no
longer needed for the Gnome 2 Nautilus, since we use UTF-8 throughout. I'm
fixing this by eliminating NautilusDesktopFile altogether and using
GnomeDesktopItem, which handles this correctly.

    -- Darin





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