emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: local chars displayed as numbers


From: Reiner Steib
Subject: Re: local chars displayed as numbers
Date: Wed, 20 Sep 2006 13:01:07 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

On Wed, Sep 20 2006, Kenichi Handa wrote:

> Reiner Steib <address@hidden> writes:
>> On Wed, Sep 20 2006, Andreas Roehler wrote:
>> > ... Its value is raw-text-unix
>
> That means that Emacs couldn't detect a correct encoding of
> that file.  It seems that the file is encoded in iso-8859-1,
> but the encoding suggested by your locale is different.

Using his locale (LANG=de_DE.UTF-8; no other LC_* variables set), I
get with emacs -Q:

,----
| coding-category-list is a variable defined in `C source code'.
| Its value is 
| (coding-category-utf-8 coding-category-iso-8-1 coding-category-iso-8-2
| coding-category-utf-16-be coding-category-utf-16-le
| coding-category-iso-7-tight coding-category-iso-7
| coding-category-iso-7-else coding-category-iso-8-else
| coding-category-emacs-mule coding-category-raw-text
| coding-category-sjis coding-category-big5 coding-category-ccl
| coding-category-binary)
| 
| Documentation:
| List of coding-categories (symbols) ordered by priority.
`----

So Emacs should find out automatically that the content is not (valid)
utf-8 and fall back to iso-8-1 e.g. iso-8859-1.  Or am I missing
something?  (Is `coding-category-list' the right variable to check the
priority?)

> Please try to visit that file by:
>   C-x RET c iso-8859-1 RET C-x C-f FILENAME
>
> If you want to save that file in UTF-8, do this:
>   C-x RET f utf-8 RET C-x C-s

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




reply via email to

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