unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: ?manu* <paolNOini@math.SPAMunifi.it>
To: help-gnu-emacs@gnu.org
Subject: Re: switch between utf-8 and latin-1 (ARGH!!)
Date: Sat, 18 Jul 2009 23:57:09 +0200	[thread overview]
Message-ID: <Lyr8m.2496$vm5.1802@tornado.fastwebnet.it> (raw)
In-Reply-To: <87vdlpaih7.wl%anselm.helbig+news2009@googlemail.com>

Anselm Helbig ha scritto:
> You don't need another editor to do that. Just try to understand what
> emacs is doing here: when you added the line about the coding system
> emacs understood that you want the contents of the buffer saved with
> this coding system. Emacs can not know that the characters on screen
> are not what you want! So you first have to get to the point where
> Emacs has the correct notion about the coding system. Pascal already
> pointed you to `set-buffer-file-coding-system', 

This was not useful because it does not change the meaning of the 
caracters in the buffer. It only changes the encoding of the characters 
when saving to file.

> another way is to use
> `universal-coding-system-argument' (C-x RET c) immediately before
> opening a file.

...yes this was the right command to use...

thanks,
	E.


  reply	other threads:[~2009-07-18 21:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18 17:44 switch between utf-8 and latin-1 ?manu*
2009-07-18 17:59 ` Pascal J. Bourguignon
2009-07-18 19:06   ` switch between utf-8 and latin-1 (ARGH!!) ?manu*
2009-07-18 19:39     ` Anselm Helbig
2009-07-18 21:57       ` ?manu* [this message]
2009-07-18 23:54         ` Pascal J. Bourguignon
2009-07-19  6:32           ` ?manu*

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='Lyr8m.2496$vm5.1802@tornado.fastwebnet.it' \
    --to=paolnoini@math.spamunifi.it \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).