[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue
From: |
Kazuhiro Ito |
Subject: |
Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25) |
Date: |
Wed, 28 Feb 2024 22:02:08 +0900 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-pc-cygwin) MULE/6.0 (HANACHIRUSATO) |
> >> I'm using Apple's Mail.app. I don't usually have issues displaying
> >> contents in French/Japanese, etc. even mixed with other languages.
> >
> > Maybe something is wrong here, then. I'm not an expert on this stuff;
> > does anyone know whether this Subject encoding is OK or not?
Obviously not.
I read your original message from newsgroup via Wanderlust. Your
message's subject is below.
--------
Subject: =?utf-8?Q?Traduction_fran=C3=A7aise_des_manuels_d=E2=80=99Emacs,
_=C3=A9tat_des_lieux.?=
--------
SPACE and LF within encoded-word are not allowed.
RFC 2047 (in section 2) says
> IMPORTANT: 'encoded-word's are designed to be recognized as 'atom's
> by an RFC 822 parser. As a consequence, unencoded white space
> characters (such as SPACE and HTAB) are FORBIDDEN within an
> 'encoded-word'. For example, the character sequence
>
> =?iso-8859-1?q?this is some text?=
>
> would be parsed as four 'atom's, rather than as a single 'atom' (by
> an RFC 822 parser) or 'encoded-word' (by a parser which understands
> 'encoded-words'). The correct way to encode the string "this is some
> text" is to encode the SPACE characters as well, e.g.
>
> =?iso-8859-1?q?this=20is=20some=20text?=
--
Kazuhiro Ito
- Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), address@hidden, 2024/02/27
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Eli Zaretskii, 2024/02/28
- Message not available
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Eli Zaretskii, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Jean-Christophe Helary, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), tomas, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25),
Kazuhiro Ito <=
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), tomas, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Yuri Khan, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Jean-Christophe Helary, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), tomas, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Andreas Schwab, 2024/02/28
- Re: Encoding issue in the digest (Re: Emacs-devel Digest, Vol 240, Issue 25), Eli Zaretskii, 2024/02/28