Gnus development mailing list
 help / color / mirror / Atom feed
From: Steinar Bang <sb@dod.no>
Subject: Re: The displaying of ISO-8859-15
Date: Thu, 28 Dec 2006 08:50:09 +0100	[thread overview]
Message-ID: <87mz58lary.fsf@bang.priv.no> (raw)
In-Reply-To: <v9vekeof68.fsf@marauder.physik.uni-ulm.de>

>>>>> Reiner Steib <reinersteib+gmane@imap.cc>:

> 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?

Not sure.  What I did was to put
 (charset . iso-8859-1)
in the group parameters.

mm-coding-system-priorities seems to be nil for me.  Is that better to
use? 

> It might also be an Emacs configuration issue.  `C-u C-x =' will tell
> you which font is used for -1 / and -15. 

  character: ø (04370, 2296, 0x8f8)
    charset: latin-iso8859-1
             (Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100)
 code point: 120
     syntax: word
   category: l:Latin  
buffer code: 0x81 0xF8
  file code: 0x81 0xF8 (encoded by coding system raw-text-unix)
       font: -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO8859-1

  character: ø (07570, 3960, 0xf78)
    charset: latin-iso8859-15
             (Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203)
 code point: 120
     syntax: word
   category: l:Latin  
buffer code: 0x8E 0xF8
  file code: 0x8E 0xF8 (encoded by coding system raw-text-unix)
       font: -Misc-Fixed-Medium-R-Normal--6-60-75-75-C-40-ISO8859-15

(hm... what coding will this get on outgoing I wonder...?)

> 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.

I got the same ugly font for ISO-8859-15 as I'm getting in Gnus.  I've
got a 13k screen shot showing the two emacsen displaying the file in
the two fonts, for those that are interested.

> 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.)

Ok, mm-charset-synonym-alist is something to look at then.  This is my
current setting:
((windows-1255 . iso-8859-8)
 (windows-1254 . iso-8859-9)
 (windows-1252 . iso-8859-1)
 (windows-1250)
 (big5-hkscs . big5)
 (unicode . utf-16-le)
 (ks_c_5601-1987 . euc-kr))

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

Ouch.  But none of those differences listed below will normally affect
Norwegian language email messages and news postings.

Thanx!

- Steinar

> [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




      reply	other threads:[~2006-12-28  7:50 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
2006-12-28  7:50   ` Steinar Bang [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=87mz58lary.fsf@bang.priv.no \
    --to=sb@dod.no \
    /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).