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



On Fri, 2002-02-15 at 19:41, KUSANO Takayuki wrote:
> Nautlius HEAD can't display icon text of desktop icons correctly on
> non-latin-1 locale. They are displayed as '???? (invalid Unicode)'.

Actually, this holds for most non-ASCII characters.

> 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.

Glib uses Unicode internally, see
http://bugzilla.gnome.org/show_bug.cgi?id=69059

"export"-ing "G_BROKEN_FILENAMES=1" should make Nautilus try to convert
the filenames, but this makes it crash with random memory allocation
errors for me. (I'll file a bug report tomorrow)

-- 
    Håvard

mailto:havardw stud ntnu no||http://www.stud.ntnu.no/~havardw||73525576
All it takes to start an avalanche is a single snowflake||Or a
snowboarder
        Oh! Un Fraggle! Regarde, maman! J'ai attrapé un Fraggle!





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