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

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

Re: desktop and encodings


From: Mads Jensen
Subject: Re: desktop and encodings
Date: 15 Jun 2005 15:35:50 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Peter Dyballa <Peter_Dyballa@Web.DE> writes:
[snip]

> So, to conclude: your Emacs obviously saves your input as UTF-8, and you
> have to make the buffer display in UTF-8 too! The correct headers would
> look like
> 
>       ;;; -*- mode: Text; coding: utf-8; -*-

Yeah, just found out about that; it really makes everything a whole lot
easier. 

> Once you have the file opened in the wrong encoding you can change that
> with revert-buffer-with-coding-system, C-x RET r utf-8 RET.

Thanks. There are so many things about Emacs, that I'm unfamiliar with,
so it's great learning about new stuff :-)

> (prefer-coding-system     'utf-8-unix)

I have both a (prefer-coding-system ...) for latin-1 and unicode, and
they appear to help a lot. Anyways, thanks!

-- 
Mads Jensen - mail sent to address ends in /dev/null
              s/spam/madsj for emailing me 
              gpg: 7E775BDA

It is impossible to make anything foolproof because fools are so
ingenious.


reply via email to

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