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

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

Re: Questions on charset encoding detection and keyboard layout


From: Eli Zaretskii
Subject: Re: Questions on charset encoding detection and keyboard layout
Date: Thu, 10 Dec 2009 21:03:21 +0200

> Date: Thu, 10 Dec 2009 22:42:11 +0800
> From: "Hou, Ruoyu" <address@hidden>
> 
> 1. My working environment involves handling documents with major eastern 
> Asian characters in different encodings(GB2312, GB18030, BIG5, GBK, 
> UTF-8, Shift-JIS, EUC-JP, ISO-2022-JP). My language environment was set 
> as UTF-8, because I want all the documents *I create* saved as UTF-8, 
> and properly display/edit/save other file in different encodings without 
> changing the raw encodings. I noticed that my emacs was not properly 
> recognizing documents encoded with euc-jp, so I have to manually set it 
> every time I encounter such documents. Is there any configurations I 
> could tweak to accurately auto-detect and display the file encodings I 
> mentioned above?

Try putting this in your ~/.emacs init file (and restart Emacs after
that):

 (prefer-coding-system 'euc-jp)




reply via email to

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