unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Can't make emacs use utf-8?? (on WinXP)
@ 2003-06-02 23:55 Bjoern
  2003-06-03  7:19 ` Jason Rumney
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Bjoern @ 2003-06-02 23:55 UTC (permalink / raw)


Hello,

I've now installed emacs 21.3 and set the Mule language environment to 
UTF-8. So mule-utf-8 appears to be first in the priority order for 
recognizing coding systems when reading files, and also the default 
coding system for new files.

But I can't seem to convert my existing files. If I convert them to 
utf-8 (or mule-utf-8 ?) with C-x RET f utf-8 and save them, their 
encoding is still 'undecided-dos' when I reopen them. Except for one 
html File, where it works somehow (the others are .jsp and .java files, 
but I've also failed with another html file). When I create a text file 
just containing 'abc', it also works (recognised as utf-8 after 
reopening). However I tried writing a HelloWorld.java from scratch, and 
again it didn't work.

I'm really confused - how can undecided-dos happen at all, if utf-8 is 
first in the priority list?

Many thanks in advance for any help!


Bjoern


P.S.: Here is the output of M-x describe-current-coding:

Coding system for saving this buffer:
   - -- undecided-dos
Default coding system (for new files):
   u -- mule-utf-8-dos
Coding system for keyboard input:
   nil
Coding system for terminal output:
   1 -- iso-latin-1 (alias: iso-8859-1 latin-1)
Defaults for subprocess I/O:
   decoding: u -- mule-utf-8-dos
   encoding: u -- mule-utf-8-dos

Priority order for recognizing coding systems when reading files:
   1. mule-utf-8 (alias: utf-8)
   2. iso-latin-1 (alias: iso-8859-1 latin-1)
   3. iso-2022-jp (alias: junet)
   4. iso-2022-7bit
   5. iso-2022-7bit-lock (alias: iso-2022-int-1)
   6. iso-2022-8bit-ss2
   7. emacs-mule
   8. raw-text
   9. japanese-shift-jis (alias: shift_jis sjis)
   10. chinese-big5 (alias: big5 cn-big5)
   11. no-conversion (alias: binary)

   Other coding systems cannot be distinguished automatically
   from these, and therefore cannot be recognized automatically
   with the present coding system priorities.

   The followings are decoded correctly but recognized as 
iso-2022-7bit-lock:
     iso-2022-7bit-ss2 iso-2022-7bit-lock-ss2 iso-2022-cn iso-2022-cn-ext
     iso-2022-jp-2 iso-2022-kr

Particular coding systems specified for certain file names:

   OPERATION	TARGET PATTERN		CODING SYSTEM(s)
   ---------	--------------		----------------
   File I/O      "\\.elc\\'"             (emacs-mule . emacs-mule)
                 "\\(\\`\\|/\\)loaddefs.el\\'"
                                         (raw-text . raw-text-unix)
                 "\\.tar\\'"             (no-conversion . no-conversion)
                 ""                      find-buffer-file-type-coding-system
   Process I/O	nothing specified
   Network I/O	nothing specified

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2003-06-10 17:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-02 23:55 Can't make emacs use utf-8?? (on WinXP) Bjoern
2003-06-03  7:19 ` Jason Rumney
2003-06-04 15:35   ` Stefan Monnier
2003-06-03 10:16 ` Benjamin Riefenstahl
2003-06-04  0:26   ` Bjoern
2003-06-04 12:52     ` Benjamin Riefenstahl
2003-06-04 13:16       ` Bjoern
2003-06-04 14:19         ` Robin Hu
2003-06-04 14:59         ` Benjamin Riefenstahl
2003-06-04 20:21         ` Jason Rumney
2003-06-10 17:53         ` Piet van Oostrum
2003-06-03 18:27 ` Eli Zaretskii
2003-06-05 14:14 ` Stefan Monnier
2003-06-06  8:58   ` Bjoern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).