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

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

Re: strange error


From: Daniel Pittman
Subject: Re: strange error
Date: Sun, 14 Nov 2010 12:05:28 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin)

Rajinder Yadav <devguy.ca@gmail.com> writes:

> Is there a way to force emacs to save in utf-8 ? I was cutting and pasting
> code out of emacs and getting strange errors. I then opened up another
> editor, pasted in there and then copied out of 2nd editor and pasted the
> code and everything was fine, strange error gone!

You can change the encoding of a buffer with 'C-x RET f', which invokes
`set-buffer-file-coding-system' - that will allow you to set the buffer to
UTF-8 or any other supported encoding.

Regards,
        Daniel
-- 
✣ Daniel Pittman            ✉ daniel@rimspace.net            ☎ +61 401 155 707
               ♽ made with 100 percent post-consumer electrons




reply via email to

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