[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
coding system for html files (unibyte mode)
From: |
Roland Winkler |
Subject: |
coding system for html files (unibyte mode) |
Date: |
Fri, 08 Apr 2005 18:56:15 +0200 |
Symptoms:
cat > foo.htm << EOF
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</html>
EOF
When I start "emacs --no-init-file foo.htm", I can edit and save the
file as expected.
On the other hand, when I start "emacs --unibyte --no-init-file foo.htm",
then edit the file and save it, emacs asks me:
Selected encoding raw-text-unix disagrees with iso-8859-1-unix
specified by file contents. Really save (else edit coding cookies
and try again)? (yes or no)
Why does it select encoding raw-text-unix instead of my usual iso-8859-1?
Roland
In GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2005-03-14 on tfkp12
Distributor `The XFree86 Project, Inc', version 11.0.40300001
configured using `configure '--prefix=/home/winkler/emacs/NEW' '--with-gcc'
'--with-pop' '--with-x' '--with-x-toolkit=athena'
'--x-libraries=/usr/X11R6/lib' '--x-includes=/usr/X11R6/include''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: nil
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- coding system for html files (unibyte mode),
Roland Winkler <=