all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: YOUNG <breadncup@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Convert UTF-8
Date: Wed, 17 Dec 2008 11:43:36 +0100	[thread overview]
Message-ID: <E6292A8F-4ED6-464F-9EF0-8D2F02A6EC14@Web.DE> (raw)
In-Reply-To: <34c3af09-10d9-4b86-9683-08b37ccd4237@b41g2000pra.googlegroups.com>


Am 17.12.2008 um 02:05 schrieb YOUNG:

> I have a Emacs 22.3.1 for Windows XP, and there is a file encoded in
> ASCII. I am trying to read the file and convert it to UTF-8 with
> emacs.

You could also try:

	(prefer-coding-system	'utf-8)

It's a global option. The best to set GNU Emacs' behaviour in this  
area is by environment variables like LANG or LC_CTYPE that name some  
UTF-8 based encoding. I don't know how this is handled in MS Losedos.

 From the Options menu choose Mule and then "Set Coding Systems" from  
which "For Next Command" (C-x RET c) will allow you to set a  
particular encoding system for reading the file.

--
Greetings

   Pete

Bake pizza not war!







      parent reply	other threads:[~2008-12-17 10:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-17  1:05 Convert UTF-8 YOUNG
2008-12-17  2:27 ` Andreas Politz
2008-12-17  7:54   ` Harald Hanche-Olsen
2008-12-17  8:41     ` YOUNG
2008-12-17  9:59       ` Thierry Volpiatto
2008-12-17 11:17       ` Giorgos Keramidas
2008-12-17 12:04       ` Xah Lee
2008-12-18  8:35         ` YOUNG
2008-12-18 14:56           ` Harald Hanche-Olsen
2008-12-17 10:43 ` Peter Dyballa [this message]

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=E6292A8F-4ED6-464F-9EF0-8D2F02A6EC14@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=breadncup@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.