Re: [Nautilus-list] [patch] Get location bar to show int'l characters



On Sunday, March 17, 2002, at 11:42 AM, Håvard Wigtil wrote:

Nautilus HEAD cuts of the text in the location bar before the first
non-ASCII character (bug #74574).

I've changed eel_format_uri_for_display to run the name through
g_filename_to_utf (which will convert it to the locale encoding if
G_BROKEN_FILENAMES is set). I've looked through the places
eel_format_uri_for_display is used, and for me it doesn't seem like this
change will cause any problems. But I hope someone who knows the
codebase better can have a look at it.

Hmm. Doesn't sound right to me. A URI should not be run through a filename formatting function. A call to g_locale_to_utf8 might be appropriate, but I'm not sure. I can't look at the bug report right now, because bugzilla is not responding.

BTW, Nautilus now converts my locale-specific filenames even when
G_BROKEN_FILENAMES is not set. Is this a bug or a feature? (Hope it's a
feature ;)

Definitely a feature.

    -- Darin





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