[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: Tue, 13 Dec 2005 16:41:59 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On Tue, 13 Dec 2005 13:12:02 +0100 Ralf Angeli wrote:

> Attached you can find a file with two 8-bit characters I extracted
> from a file produced by Visual Studio under Windows.  The characters
> should be u umlaut and the Euro sign.  Emacs does not seem to be able
> to find the right coding system for it and displays it with
> raw-text-dos.  I could not get the file displayed correctly by loading
> it with iso-latin-1, iso-latin-9, or cp1251.  And I am not sure if
> this is a problem of Emacs or if Visual Studio simply produced
> garbage.

The \200 (0x80) is EUR in windows-1252.  But i have no clue what
the 0xc2 is doing there.


-*- coding: windows-1252; -*-

in the first line or when you open the file with

C-x RET c windows-1252 RET C-x C-f test.txt RET 

the EUR gets displayed but there's still this 0xc2 (latin capital
letter A with circumflex in latin-1/9 or windows-1252).


reply via email to

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