[Top][All Lists]

[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 11:12:40 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

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

Didn't you say in de.comp.editoren (the thread following
<news:address@hidden>) that you cannot reproduce this problem
anymore?  (I couldn't reproduce it with "LC_CTYPE=de_DE.utf8 emacs
-Q"[1]).  Can you reproduce it starting from "emacs -Q"?  Maybe it
helps if you send us a small gzipped test file.

>  value of $LANG: de_DE.UTF-8
>  locale-coding-system: utf-8
>  default-enable-multibyte-characters: t

Bye, Reiner.

$ echo Straße > /tmp/strasse.txt
$ LC_CTYPE=de_DE.utf8 em -Q /tmp/strasse.txt

See attached file:

Attachment: strasse.txt.gz
Description: GNU Zip compressed data

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

reply via email to

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