Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
Subject: Re: The displaying of ISO-8859-15
Date: Thu, 14 Dec 2006 13:06:07 +0100	[thread overview]
Message-ID: <v9vekeof68.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87vekekbsn.fsf@bang.priv.no>

On Thu, Dec 14 2006, Steinar Bang wrote:

> So I figured out how to make Gnus cast replies and followups to
> 8859-15 messages into 8859-1 when responding, and was satisfied with
> that. 

I guess you refer to `mm-coding-system-priorities', aren't you?

> The main reason (apart from the purely aestethical dislike of
> iso-8859-15 as a concept) for being annoyed with ISO-8859-15, is that
> Gnus on my platform (see above) picked a bug-ugly font for those
> characters.  I've filed that under "probably caused by the fonts
> installed on my platform, and not something I'd spend time on".

It might also be an Emacs configuration issue.  `C-u C-x =' will tell
you which font is used for -1 / and -15.  I'd suggest to load a file
with Scandinavian chars with "emacs -q -no-site-file" with both
charsets (`C-x C-m c iso-8859-... RET C-x C-f foo.txt RET').  Maybe
there's some error in your configuration.

> But today I did `C-u g' in the summary buffer to see the headers of an
> ISO-8859-15 message.  And down in the message body, the ISO-8859-15
> characters were shown in the same font as the surrounding US-ASCII.
> Ie. the same font ISO-8859-1 characters would have been shown in.
>
> It then dawned on me that configuring the display of ISO-8859-15 in
> messages is possibly something that Gnus can do.  

Well, Emacs can do something: `unify-8859-on-decoding-mode', but it
has some pitfalls.  If your Gnus is sufficiently recent, you might use
`mm-charset-override-alist'.  But I wouldn't recommend this unless
when using some old/non-MULE (X)Emacs which is not aware of Latin-9
(even then, `mm-charset-synonym-alist' would make more sense.)

,----[ <f1> v mm-charset-override-alist RET ]
| mm-charset-override-alist is a variable defined in `mm-util'.
| Its value is 
| ((iso-8859-1 . windows-1252)
|  (iso-8859-8 . windows-1255)
|  (iso-8859-9 . windows-1254))
| 
| Documentation:
| A mapping from undesired charset names to their replacement.
| 
| You may add pairs like (iso-8859-1 . windows-1252) here,
| i.e. treat iso-8859-1 as windows-1252.  windows-1252 is a
| superset of iso-8859-1.
| 
| You can customize this variable.
`----

> Eg. decide to display it like ISO-8859-1 or something (who needs
> that silly Euro char anyways...?).

Latin-1 and Latin-9 differ in 8 positions[1], not only the EUR char.

Bye, Reiner.

[1]
,----[ Latin-1 vs. Latin-9 ]
| -ISO_8859-1(7)       Linux Programmer's Manual       ISO_8859-1(7)
| +ISO_8859-15(7)      Linux Programmer's Manual      ISO_8859-15(7)
| -       244   164   A4     CURRENCY SIGN
| +       244   164   A4     EURO SIGN
| -       246   166   A6     BROKEN BAR
| +       246   166   A6     LATIN CAPITAL LETTER S WITH CARON
| -       250   168   A8     DIAERESIS
| +       250   168   A8     LATIN SMALL LETTER S WITH CARON
| -       264   180   B4     ACUTE ACCENT
| +       264   180   B4     LATIN CAPITAL LETTER Z WITH CARON
| -       270   184   B8     CEDILLA
| +       270   184   B8     LATIN SMALL LETTER Z WITH CARON
| -       274   188   BC     VULGAR FRACTION ONE QUARTER
| -       275   189   BD     VULGAR FRACTION ONE HALF
| -       276   190   BE     VULGAR FRACTION THREE QUARTERS
| +       274   188   BC     LATIN CAPITAL LIGATURE OE
| +       275   189   BD     LATIN SMALL LIGATURE OE
| +       276   190   BE     LATIN CAPITAL LETTER Y WITH DIAERESIS
`----
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  reply	other threads:[~2006-12-14 12:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 10:32 Steinar Bang
2006-12-14 12:06 ` Reiner Steib [this message]
2006-12-28  7:50   ` Steinar Bang

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=v9vekeof68.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@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).