unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Karl Eichwalder <keichwa@gmx.net>, Karl Eichwalder <keichwa@gmx.net>
Subject: Prefer UTF-8 over mac-roman? (was: [Karl Eichwalder <keichwa@gmx.net>] charset=macintosh)
Date: Fri, 07 Mar 2003 19:34:26 +0100	[thread overview]
Message-ID: <iluu1ef3u19.fsf@latte.josefsson.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

The attached message was sent to the Gnus list, but the source of the
problem is Emacs' coding system priorities.  Emacs prefers mac-roman
over utf-8 when decoding the text given below.

I noticed that PROBLEMS in Emacs 21.3 prerelease no longer says that
Unicode support is not complete (which it did in 21.2), so I assume
the Unicode support has been completed, or at least the bugs has been
fixed.

So, shouldn't UTF-8 be preferred over mac-roman in emacs 21.3?
Doesn't even Macintosh use UTF-8 now?

Perhaps it is too late for 21.3, and if so, shouldn't we at least make
this modification to HEAD?  I verified that the same problem still
applies.  (You can reproduce it easily by simply cut'n'pasting the
characters below to a new buffer in a emacs -q and try to save it, if
your mail reader decodes this mail properly.)

(Note that I run emacs in an UTF-8 locale, so this message will be
encoded as UTF-8, even though it contains the same characters as
originally reported.)


[-- Attachment #2: Type: message/rfc822, Size: 3593 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 653 bytes --]

Oort Gnus v0.16
GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2003-03-05 on tux
200 gnu.franken.de InterNetNews server INN 2.3.2 ready

I wrote to attached message using the TeX iput method (C-x RET c TeX RET).
Especially I added these quotes: \ldq \rdq and then \ldots and \euro .

Sending the message, Gnus choose this encoding:

MIME-Version: 1.0
Content-Type: text/plain; charset=macintosh
Content-Transfer-Encoding: quoted-printable

I would have expected UTF-8 since UTF-8 is more standard than
"macintosh"; I know you can set your preferences somehow -- but I'd
like to see Gnus doing the right thing out of the box.


[-- Attachment #2.1.2: Type: message/rfc822, Size: 519 bytes --]

Subject: encoding test
Date: Fri, 07 Mar 2003 18:28:35 +0100
Message-ID: <shzno73x30.fsf@tux.gnu.franken.de>

“quotes”
and more…
Grüß Gott.

€ 1.

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.gnu.franken.de/ke/                            |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)


[-- Attachment #2.1.3: Type: text/plain, Size: 271 bytes --]

-- 
ke@suse.de (work) / keichwa@gmx.net (home):              |
http://www.gnu.franken.de/ke/                            |      ,__o
Free Translation Project:                                |    _-\_<,
http://www.iro.umontreal.ca/contrib/po/HTML/             |   (*)/'(*)

             reply	other threads:[~2003-03-07 18:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07 18:34 Karl Eichwalder, Karl Eichwalder [this message]
2003-03-07 18:47 ` Prefer UTF-8 over mac-roman? (was: [Karl Eichwalder <keichwa@gmx.net>] charset=macintosh) Simon Josefsson
2003-03-07 19:09 ` Prefer UTF-8 over mac-roman? Karl Eichwalder
2003-03-18  6:55 ` Prefer UTF-8 over mac-roman? (was: [Karl Eichwalder <keichwa@gmx.net>] charset=macintosh) Kenichi Handa

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=iluu1ef3u19.fsf@latte.josefsson.org \
    --to=keichwa@gmx.net \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).