[Top][All Lists]

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

Re: Coding problem with Euro sign

From: David Hansen
Subject: Re: Coding problem with Euro sign
Date: Thu, 15 Dec 2005 21:50:20 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Thu, 15 Dec 2005 16:16:30 +0100 Reiner Steib wrote:

> On Thu, Dec 15 2005, David Hansen wrote:
>> (prefer-coding-system 'latin-1)
>> (prefer-coding-system 'latin-9)
>> (prefer-coding-system 'windows-1252)
>> (prefer-coding-system 'utf-8)
> I'd expect that the latin-1 line _after_ windows-1252 doesn't make
> sense.  Any file that can possibly be encoded with Latin-1 can also be
> encodes using windows-1252 (proper superset).  So Emacs will never
> choose Latin-1, I think.

Sounds reasonable.

> Probably the same argument holds for Latin-9, but I'm not
> completely sure (does windows-1252 contain _all_ chars from
> Latin-9?).

Yes, but with different code for EUR.


(prefer-coding-system 'windows-1252)

might be enough, at least for reading files.  The utf-8 may be
important if you prefer utf-8 for saving your own files.

But anyway, i don't really understand what I'm talking about ;-)


reply via email to

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