help-gnu-emacs
[Top][All Lists]
Advanced

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

Problem with coding system and emacsclient


From: Juraj Kubelka
Subject: Problem with coding system and emacsclient
Date: Thu, 19 Aug 2004 10:12:17 +0200
User-agent: Mutt/1.5.6+20040803i

Hi!

I have problem with opening files with emacsclient in different
coding.

My default coding system is:

------- M-x describe-coding-system RET RET
Coding system for saving this buffer:
  2 -- iso-8859-2 (alias of iso-latin-2)
Default coding system (for new files):
  2 -- iso-8859-2 (alias of iso-latin-2)
Coding system for keyboard input:
  nil
Coding system for terminal output:
  2 -- iso-8859-2 (alias of iso-latin-2)
Defaults for subprocess I/O:
  decoding: 2 -- iso-8859-2 (alias of iso-latin-2)
  encoding: 2 -- iso-8859-2 (alias of iso-latin-2)

Priority order for recognizing coding systems when reading files:
  1. iso-8859-2 (alias of iso-latin-2)
  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)
  12. mule-utf-8 (alias: utf-8)
-------

I can open file with coding system cp1250:

C-x RET c cp1250-unix RET C-x C-f file_coding.txt

Everything is correct. Now I save and close file.

I can open file again with same sequence above. But when I want open
file with emacsclient I cannot use prefix "C-x RET c cp1250-unix RET"
and file is opened in "Unibyte raw-coding".

------- M-x describe-coding-system RET RET
Coding system for saving this buffer:
  t -- raw-text
-------

Characters are strange of course. I can use "C-x RET f cp1250-unix
RET" and file is now opened in "Unibyte cp1250-unix". 

------- M-x describe-coding-system RET RET
Coding system for saving this buffer:
  D -- cp1250-unix
-------

But old text is still displayed strange. And new characters added to
file are strange too. 

Do you have any solution for it? How open file in different coding with
emacsclient (I know coding of file)?

Thanks.

Jura

-- 
+ Juraj Kubelka +++++++++++++++++++++
+ emailto:Juraj.Kubelka at email.cz +
+ jabber://cesta at jabber.cz       +
+ icq: 25932918                     +
+++++++++++++++++++++++++++++++++++++




reply via email to

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