[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: word syntax/umlauts emacs 23 vs 22
From: |
Ralf Fassel |
Subject: |
Re: word syntax/umlauts emacs 23 vs 22 |
Date: |
Wed, 08 Dec 2010 15:32:48 -0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
* Stefan Monnier <monnier@iro.umontreal.ca>
| Your "unibyte encoding" is most likely latin-1 or latin-9, so your
| problem now is that Emacs for some reason does not try latin-1 for
| those files that don't use utf-8.
Lets assume Latin-9 (IIRC that is Latin-1 with the Euro-Sign?).
| C-x RET r latin-1 RET should cause the file to be re-read as a latin-1
| file, and it should then be displayed properly.
The file is one line:
% cat foo.txt
Herr Müller editiert mit Emacs.
% od -c foo.txt
0000000 H e r r M 374 l l e r e d i t
0000020 i e r t m i t E m a c s . \n
0000040
If I load that in
emacs23 -Q ~/tmp/foo.txt
the file is displayed correctly (mode line shows "1:--- foo.txt"),
Umlauts are displayed properly and word movement works.
However, a different, larger (800+kB) file which is also supposed to be
latin-1 displays as "t:--- file", and the single-byte Umlauts are
displayed as octal. How can I find out why emacs loads this file in 't'
instead of '1'? A quick search shows only doubled umlauts such as
'Grüße' or öö, but if I add these to foo.txt, emacs still loads foo.txt
as "1:".
Thanks
R'
- word syntax/umlauts emacs 23 vs 22, Ralf Fassel, 2010/12/09
- Re: word syntax/umlauts emacs 23 vs 22, Stefan Monnier, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Ralf Fassel, 2010/12/09
- Re: word syntax/umlauts emacs 23 vs 22, Stefan Monnier, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Ralf Fassel, 2010/12/09
- Re: word syntax/umlauts emacs 23 vs 22, Jason Rumney, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Stefan Monnier, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22,
Ralf Fassel <=
- Re: word syntax/umlauts emacs 23 vs 22, Jason Rumney, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Ilya Zakharevich, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Ralf Fassel, 2010/12/09
- Re: word syntax/umlauts emacs 23 vs 22, Stefan Monnier, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Ralf Fassel, 2010/12/09
- Re: word syntax/umlauts emacs 23 vs 22, Stefan Monnier, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Stefan Monnier, 2010/12/08
- Re: word syntax/umlauts emacs 23 vs 22, Ralf Fassel, 2010/12/09