linux.debian.bugs.dist
[Top] [All Lists]

Bug#404236: emacs-snapshot: mis-detected charset in text file with ASCII

Subject: Bug#404236: emacs-snapshot: mis-detected charset in text file with ASCII-only HTML
From: Sven Joachim
Date: Wed, 27 Dec 2006 15:40:09 +0100
Newsgroups: linux.debian.bugs.dist
Vincent Lefevre writes:
> the 3 accented characters are displayed as:
> 
>   \303\251\303\250\303\252
> 
> Without the HTML lines, the file is opened correctly.

Your file incorrectly specifies

        charset=us-acii

in the HTML header (instead of utf-8) and Emacs just obeys that,
overriding its autodetection of the coding system.  This is a
feature, not a bug; if you don't like it, you can customize the
variable auto-coding-functions to nil.

IMHO, this bug should be closed.

Cheers, Sven




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy