all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: R B Mahoney <MUGGINS@muggins.canterbury.ac.nz>
Subject: Re: UTF8
Date: 19 Jan 2004 08:14:12 GMT	[thread overview]
Message-ID: <slrnc0n4eh.15o3.MUGGINS@mahoney.remote.comnet.co.nz> (raw)
In-Reply-To: bue0qe$u6a$2@news.net.uni-c.dk


On Sun, 18 Jan 2004 14:22:10 +0100, David Rasmussen
 <david.rasmussen@gmx.net> wrote:

> When I just do
>
> 'emacs whatever.txt'
>
> and edit the newly created file using some danish special characters, 
> and then save, I get an ISO-8859-1 encoded text file. How do I get emacs 
> to use UTF8 instead of ISO-8859-1 as default?

to your init file (e.g. ~/.emacs.el) you could add:

(setq load-path (cons "/path/to/utf-8-input_file/" load-path))
(prefer-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(modify-coding-system-alist 'file "" 'utf-8)
(setq default-enable-multibyte-characters t)
(load-library "utf-8-input")
(setq default-input-method 'utf-8-input)

`utf-8-input.el' is available at:

 http://homepages.comnet.co.nz/~r-mahoney/scripts/scripts.html


Best regards,

 Richard MAHONEY


-- 
Richard MAHONEY  |  rbm49@ext.canterbury.ac.nz
                 |  homepages.comnet.co.nz/~r-mahoney

  parent reply	other threads:[~2004-01-19  8:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-18 13:22 UTF8 David Rasmussen
2004-01-18 17:05 ` UTF8 Jesper Harder
2004-01-18 18:09   ` UTF8 David Rasmussen
2004-01-18 21:36     ` UTF8 Jesper Harder
2004-01-19 23:17     ` UTF8 LEE Sau Dan
2004-01-20 13:37       ` UTF8 David Rasmussen
2004-01-20 16:16         ` UTF8 Jesper Harder
2004-01-20 17:05           ` UTF8 David Rasmussen
2004-01-20 17:52             ` UTF8 Jesper Harder
2004-01-20 18:27               ` UTF8 David Rasmussen
2004-01-20 19:09                 ` UTF8 Jesper Harder
2004-01-20 19:31                   ` UTF8 David Rasmussen
2004-01-20 20:05                     ` UTF8 Jesper Harder
2004-01-20 20:17                       ` UTF8 David Rasmussen
2004-01-20 20:19                         ` UTF8 David Rasmussen
2004-01-20 16:58         ` UTF8 Stefan Monnier
2004-01-19  8:14 ` R B Mahoney [this message]
2004-01-20 16:59   ` UTF8 Stefan Monnier
2004-01-20 17:07     ` UTF8 David Rasmussen
  -- strict thread matches above, loose matches on Subject: below --
2013-11-01  9:26 utf8 Denise Chemla
2013-11-01 14:18 ` utf8 Peter Dyballa
2013-11-01 17:50 ` utf8 Andreas Röhler

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=slrnc0n4eh.15o3.MUGGINS@mahoney.remote.comnet.co.nz \
    --to=muggins@muggins.canterbury.ac.nz \
    /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.