[Top][All Lists]

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

Re: address@hidden: Coding problem with Euro sign]

From: Kevin Rodgers
Subject: Re: address@hidden: Coding problem with Euro sign]
Date: Wed, 14 Dec 2005 18:34:58 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Ralf Angeli wrote:
* Kevin Rodgers (2005-12-14) writes:
I think the OP is confused:

Was confused.  That was cleared up on emacs-pretest-bug.

Good!  I hope you didn't take offense at my remark.

And the OP should try visiting the file with the cp1252 coding system.

Well, the question now is if it is possible for Emacs to figure out
the coding system on itself with the example at hand.

You could try something like this:

(setq auto-coding-regexp-alist
      (cons '("[\040-\177][\200-\237]" . cp1252)

I don't think that's a general purpose solution since (1)
auto-coding-regexp-alist actually has precedence over `-*-coding:-*-'
file variables and (2) other encodings probably use those o200 - o237
bytes (certainly other Microsoft Windows code pages do).

Kevin Rodgers

reply via email to

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