Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: utf-8 for decoding mails, but composing eeventually with iso-latin-9
Date: Mon, 03 Mar 2003 18:54:20 +0100	[thread overview]
Message-ID: <iluvfz0pc8j.fsf@latte.josefsson.org> (raw)
In-Reply-To: <m3k7fg1jad.fsf@ID-24456.user.dfncis.de> (Christoph Conrad's message of "Mon, 03 Mar 2003 17:55:54 +0100")

Christoph Conrad <christoph.conrad@gmx.de> writes:

> Hi,
>
> Oliver Scholz has helped me using utf-8 for displaying / writing utf-8
> mails. For several reasons i want to be able (a) to override the utf-8
> default to something like iso-latin-9, e.g. when writing to people
> using older mailclients. On the other side i want to (b) have
> iso-latin-9 as standard encoding for files, not! utf-8.
>
> I achieved (b) with
>
> ,----[ .emacs.el ]
> | (prefer-coding-system 'utf-8)
> | (setq default-buffer-file-coding-system
> |       (coding-system-change-eol-conversion
> |        'iso-latin-9 ;; default-buffer-file-coding-system
> |        nil))
> `----
>
> Now: How do i achive (a)?

Put <#part charset=iso-8859-9> before the text.

OTOH, you could try

 '(mm-coding-system-priorities (quote (iso-latin-1 iso-latin-9)))

instead of all what you are doing now.  Then you will compose in the
systems' locale but it will be downgraded to latin-1 if possible, or
latin-9 if possible.  No need to specify things manually.

I believe that most europeans are happy with a rule that chosed ASCII
if possible, then the lowest X that makes ISO-8859-X work (which
includes eventually choosing ISO-8859-15 for euro signs), and finally
UTF-8.  I run emacs in an UTF-8 locale and use the above setting, so I
get this algorithm.




  parent reply	other threads:[~2003-03-03 17:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-03 16:55 Christoph Conrad
2003-03-03 17:18 ` Kai Großjohann
2003-03-03 17:21   ` Christoph Conrad
2003-03-03 20:18     ` Kai Großjohann
2003-03-03 21:54       ` Christoph Conrad
2003-03-04  8:17         ` Kai Großjohann
2003-03-03 17:54 ` Simon Josefsson [this message]
2003-03-03 20:20 ` Kai Großjohann

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=iluvfz0pc8j.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=alkibiades@gmx.de \
    /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 NNTP newsgroup(s).