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

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

Re: How to change the file encoding


From: Wang Lei
Subject: Re: How to change the file encoding
Date: Sun, 15 Nov 2009 07:49:46 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

大熊 <bearsprite@gmail.com> writes:

> For work reason, I always process some kinds of file encodings: gbk,
> shift-jis, utf8, utf16, ...
> By vim, after open or new a file,  I can use ": e ++enc=encoding" or
> ": w ++enc=encoding" to chang the file encoding which is different
> from the default setting.
> How do it under emacs, a single command or a package?
>
> Thanks!
Check this out,
C-x RET r , revert-buffer-with-coding-system
C-x RET l , set-language-environment
Maybe it's what you want.

-- 
Regards,
Lei




reply via email to

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