[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: local chars displayed as numbers
From: |
Stefan Monnier |
Subject: |
Re: local chars displayed as numbers |
Date: |
Fri, 22 Sep 2006 10:32:20 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> I've just added windows-1252 in `coding-priority' info of
> "Laint-1" and "German" language environment.
I'm not sure this is right, because windows-1252 covers basically all bytes,
so there's no way to find out that a file is not in windows-1252. It's not
terrible, but it means that this change is not completely harmless.
Now, given the fact that this problem is rare I'm not sure it's worth
the risk.
A better solution is a new command which would
try to explain to the user why what he sees is not what he expected.
I.e. the user could point to a \NNN char and do M-x explain-decoding-error,
and then get an explanation like "this byte-sequence here prevented the use
of utf-8, that byte-sequence there prevented the use of latin-1, ...".
And she could even say C-u <somechar> M-x find-coding-system, and Emacs
could try and figure out which coding-system to use such that the \NNN gets
properly decoded into <somechar>.
Stefan
- local chars displayed as numbers, Andreas Roehler, 2006/09/20
- Re: local chars displayed as numbers, Reiner Steib, 2006/09/20
- Re: local chars displayed as numbers, Andreas Roehler, 2006/09/20
- Re: local chars displayed as numbers, Reiner Steib, 2006/09/20
- Re: local chars displayed as numbers, Kenichi Handa, 2006/09/20
- Re: local chars displayed as numbers,
Stefan Monnier <=
- Re: local chars displayed as numbers, Reiner Steib, 2006/09/22
- Re: local chars displayed as numbers, Stefan Monnier, 2006/09/22
- Re: local chars displayed as numbers, Reiner Steib, 2006/09/22
- Re: local chars displayed as numbers, Stefan Monnier, 2006/09/22
- Re: local chars displayed as numbers, Kenichi Handa, 2006/09/23
- Re: local chars displayed as numbers, Jason Rumney, 2006/09/23
- Re: local chars displayed as numbers, Reiner Steib, 2006/09/23
- Re: local chars displayed as numbers, Eli Zaretskii, 2006/09/23
- Re: local chars displayed as numbers, Richard Stallman, 2006/09/23
- Re: local chars displayed as numbers, Reiner Steib, 2006/09/23