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: Kenichi Handa
Subject: Re: local chars displayed as numbers
Date: Wed, 20 Sep 2006 19:35:45 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI)

In article <address@hidden>, Reiner Steib <address@hidden> writes:

> [1  <text/plain; iso-8859-1 (quoted-printable)>]
> On Wed, Sep 20 2006, Andreas Roehler wrote:

> > Emacs -q
> >
> > When opening files written with previous Emacs
> > versions, several chars - German Umlaute and also `-'

> This is an ASCII HYPHEN-MINUS (U+002D), probably you mean EN DASH
> (U+2013) or EM DASH (U+2014).

> > for example - are displayed as numbers, not as symbol.
> >
> > So `Straße' is shown as `Stra\337e'
> >
> > C-x =
> >
> > at point gives the correct result and also shows the
> > symbol:
> >
> > ->
> > Char: ß (223, #o337, #xdf, file #xDF) point=395 of 2660 (15%) column=13

> (Would `C-u C-x =' (M-x describe-char RET) give more useful
> information in this case?)

> > C-h v buffer-file-coding-system
> > ->
> > ... 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.

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

---
Kenichi Handa
address@hidden




reply via email to

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