[Top][All Lists]

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

Re: Strange behaviour with dired and UTF8

From: Jan D.
Subject: Re: Strange behaviour with dired and UTF8
Date: Sat, 3 May 2003 19:59:09 +0200

lördagen den 3 maj 2003 kl 17.59 skrev Stephen J. Turnbull:

"Jan" == Jan D <address@hidden> writes:

    Jan> But then you would be using non-printable latin-1 characters.

That's impossible.  By definition, all Latin 1 is printable

Then every implementation of isprint() is wrong :-).  Character
128-159 is not printable, I think.  Nor is the non-printable part
that is in the ASCII subset.

    Jan> I don't think this is something one has to handle.

Maybe not you.  Emacs has high standards, though. :-)

Emacs would have to be able to read minds to do this correctly.
It is possible to make a buffer contain characters that looks fine
when viewed as UTF-8, but Emacs can not know if the user actually
wanted this to be latin-1.  It is just an interpretation of how
octets shall be viewed.  That is why I would like to say to
dired "Show me these file names interpreted as UTF-8" and then
later "show me these file names interpreted as latin-1", and also
be able to operate on the files.

        Jan D.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]