Gnus development mailing list
 help / color / mirror / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Subject: Re: Using iso-8859-15 with Emacs21 & Gnus
Date: Sat, 03 Nov 2001 09:53:48 -0500	[thread overview]
Message-ID: <2nofmjvrb7.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: <87g07wnnrv.fsf@deneb.enyo.de> (Florian Weimer's message of "Sat, 03 Nov 2001 11:37:24 +0100")

Florian Weimer <fw@deneb.enyo.de> writes:

> ShengHuo ZHU <zsh@cs.rochester.edu> writes:
>
>>> because the standard utf-8.el can deal with ISO-8859-1, but not
>>> ISO-8859-15.
>>
>> That's the problem of utf-8.el.
>
> It completely breaks UTF-8 support for Gnus using Emacs 21.  If you
> reply to a UTF-8 message, chances are good that it contains ISO-8859-1
> characters, and if I understand your code correctly, these characters
> are mapped to ISO-8859-15, so the reply cannot be encoded using UTF-8
> by Emacs.

The point is that if a message contains ISO-8859-15, Gnus converts
ISO-8859-1 to ISO-8859-15.

The cases are that if a message contains

1. no ISO-8859-15 chars, no conversion. Fine for utf-8.el.

2. some inconvertible ISO-8859-15 chars (e.g. euro sign), convert
   ISO-8859-1 to ISO-8859-15. No harm, utf-8.el can't encode it either
   way.  

3. no inconvertible ISO-8859-15 chars, convert ISO-8859-1 to
   ISO-8859-15. It would be better to convert them to ISO-8859-1. But
   this case doesn't happen much. Why users input ISO-8859-15 chars if
   they can do it with ISO-8859-1 chars?

To autodetect the case 3 will lose the efficiency.

ShengHuo



  reply	other threads:[~2001-11-03 14:53 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-27 21:50 Raymond Scholz
2001-10-27 22:51 ` Florian Weimer
2001-10-28 13:12   ` Raymond Scholz
2001-11-01 11:26     ` Florian Weimer
2001-11-01 14:37       ` ShengHuo ZHU
2001-11-01 21:06         ` Florian Weimer
2001-11-01 23:30           ` ShengHuo ZHU
2001-11-02 19:36             ` Florian Weimer
2001-11-02 22:36               ` ShengHuo ZHU
2001-11-03 10:37                 ` Florian Weimer
2001-11-03 14:53                   ` ShengHuo ZHU [this message]
2001-11-03 16:36                     ` Kai Großjohann
2001-11-03 18:29                       ` Graham Murray
2001-11-03 20:28                         ` Florian Weimer
2001-11-03 20:28                           ` Per Abrahamsen
2001-11-03 20:38                             ` Russ Allbery
2001-11-03 21:11                               ` USEFOR (was: Re: Using iso-8859-15 with Emacs21 & Gnus) Per Abrahamsen
2001-11-03 21:34                                 ` Russ Allbery
2001-11-03 22:01                                 ` USEFOR Florian Weimer
2001-11-05 10:46                                   ` USEFOR Per Abrahamsen
2001-11-03 21:57                             ` Using iso-8859-15 with Emacs21 & Gnus Florian Weimer
2001-11-03 22:09                               ` Russ Allbery
2001-11-04  0:56                                 ` Florian Weimer
2001-11-04 10:31                                   ` Russ Allbery
2001-11-04 18:29                           ` Kai Großjohann
2001-11-04 23:27                             ` Florian Weimer
2001-11-04 18:24                         ` Kai Großjohann
2001-11-03 19:57                     ` Karl Eichwalder
2001-11-03 12:54                 ` Per Abrahamsen
2001-11-03 23:31                   ` Paul Jarc
2001-11-01 21:14         ` Raymond Scholz
2001-11-01 22:26           ` Florian Weimer
2001-11-01 17:51       ` news
2001-11-01 21:06         ` Florian Weimer

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=2nofmjvrb7.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /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).