Re: [Nautilus-list] Re: [GNOME VFS] Re: location bar autocompletion
- From: Alex Larsson <alexl redhat com>
- To: Darin Adler <darin bentspoon com>
- Cc: David Emory Watson <dwatson cs ucr edu>, Nautilus <nautilus-list lists eazel com>, GNOME VFS <gnome-vfs ximian com>
- Subject: Re: [Nautilus-list] Re: [GNOME VFS] Re: location bar autocompletion
- Date: Mon, 25 Feb 2002 19:05:41 -0500 (EST)
On Mon, 25 Feb 2002, Darin Adler wrote:
> On 2/25/02 3:43 PM, "Alex Larsson" <alexl redhat com> wrote:
>
> > But what about input? What URI do we generate if the user types some UTF8
> > text with non-ascii characters in the location bar?
> >
> > The only thing that seems possible is to escape the UTF8 and try that. But
> > that makes it impossible to type in the name of a file that is not UTF8
> > encoded.
>
> Not exactly. First, note that we can tell if they are typing a full path.
> Things that start with "/" are full paths. So in that case, we can use
> G_BROKEN_FILENAMES to decide whether to treat it was UTF-8 or whether to
> locale-encode it first.
>
> I think that will probably give us something acceptable. To type a strange
> name, you just have to type the whole URI, entity encoded.
This seems like a good solution. We could also show file: uris that are
valid UTF8 in the "non-encoded" UTF8 form in the location bar (unless
G_BROKEN_FILENAMES is used).
This is gonna require some real attention to details.
/ Alex
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]