Re: [Nautilus-list] A fix for non-ASCII characters (and hello)



Christian Rose <menthos menthos com> writes:

> fre 2002-01-18 klockan 22.44 skrev Owen Taylor:
> > What I said at:
> >   
> >  http://bugzilla.gnome.org/show_bug.cgi?id=69059
> > 
> > I'm pretty firm in my opinion that putting locale dependent
> > filenames on the hard drive is wrong. But since I know
> > that some people will disagree, or will need to use
> > locale dependent filenames, that is the reason for
> > G_BROKEN_FILENAMES.
> 
> I'd hardly call the behavior "wrong". The technology may have been wrong
> in that most applications didn't save file names as Unicode or treated
> them as Unicode but used other encodings, but I'd hardly call grandma
> saving her recipe document with a correctly spelled file name for
> "wrong".
> 
> I think one should be careful and distinguish between technology
> limitations or more or less elegant software hacks, and user behavior.
> The act of a user spelling something correctly (whatever the underlying
> implementation is) when it's possible should not be considered a bug.
> The implementation, on the other hand, may very well be considered a
> hack, and if it later breaks something else like in this case, a bug.

If we called a config setting presented to the user "accept broken filenames"
that might be a little offensive.

But the technology of storing localized text in the filesystem without
an encoding tag is just entirely broken, and people should have known
better 10-15 years ago at least; Microsoft got this right, after all...

So, IMO, while the filename might not have been broken to begin with, it
got broken when saved to disk, and an internal configuration name like
an environment variable, I think it is fine to reflect that.

Regards,
                                        Owen




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