all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wang Lei <f3d27b@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to change the file encoding
Date: Sun, 15 Nov 2009 07:49:46 +0800	[thread overview]
Message-ID: <4aff41a5.9413f30a.2b91.29b2@mx.google.com> (raw)
In-Reply-To: <380eea2a0911121400t3d32bb75jd45c7214bf0b4143@mail.gmail.com> ("大	熊"'s message of "Fri, 13 Nov 2009 06:00:56 +0800")

大熊 <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	other threads:[~2009-11-14 23:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-12 22:00 How to change the file encoding 大熊
2009-11-14 23:49 ` Wang Lei [this message]
2009-11-15  4:07 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4aff41a5.9413f30a.2b91.29b2@mx.google.com \
    --to=f3d27b@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.