Gnus development mailing list
 help / color / mirror / Atom feed
* Another problem with rfc2047 encoding
@ 2003-04-28 17:20 Reiner Steib
  2003-04-28 20:47 ` Reiner Steib
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Reiner Steib @ 2003-04-28 17:20 UTC (permalink / raw)


Hi,

when posting a subject like...

| ¿Qué significa =?ISO-8859-1?Q?=F6?= en el Asunto?

... or...

| Ich hab' da mal 'ne Fräge: Was bedeuten denn diese Zeichen =?ISO-8859-1?Q?=F6?= ?

... Oort Gnus (CVS) doesn't treat "=?ISO-8859-1?Q?=F6?=" literal as it
should.  "=?" or/and "?=" would have to be encoded, probably.

,----[ (1) <v9k7deg3aj.fsf@marauder.physik.uni-ulm.de> / Oort ]
| Subject: =?iso-8859-1?q?=BFQu=E9?= significa =?ISO-8859-1?Q?=F6?= en el
|  Asunto?
`----

I.e. this will be decoded to "¿Qué significa ö en el Asunto?", which
is wrong.

Gnus 5.9 (from Emacs 21.3) does it correctly:

,----[ (2) <v9k7dea87n.fsf@theotp2.physik.uni-ulm.de> / Gnus 5.9 ]
| Subject: =?iso-8859-1?q?=BFQu=E9_significa_=3D=3FISO-8859-1=3FQ=3F=3DF6?=
|  =?iso-8859-1?q?=3F=3D_en_el_Asunto=3F__(Gnus_5.9)?=
`----

I didn't follow the discussion about "rfc2047 still bogus" on
bugs@gnus.org closely, but this might be related:

,----[ `rfc2047.el' from Oort ]
| ELISP> (load ".../share/emacs/site-lisp/gnus-Oort/rfc2047.elc")
| t
| ELISP> (with-temp-buffer
|   (insert "Subject: ¿Qué significa =?ISO-8859-1?Q?=F6?= en el Asunto?\n")
|   (rfc2047-encode-message-header)
|   (buffer-string))
| "Subject: =?iso-8859-1?q?=BFQu=E9?= significa =?ISO-8859-1?Q?=F6?= en el\n Asunto?\n"
`----

,----[ `rfc2047.el' from Emacs 21.3 ]
| ELISP> (load ".../share/emacs/21.3/lisp/gnus/rfc2047.elc")
| t
| ELISP> (with-temp-buffer
|   (insert "Subject: ¿Qué significa =?ISO-8859-1?Q?=F6?= en el Asunto?\n")
|   (rfc2047-encode-message-header)
|   (buffer-string))
| "Subject: =?iso-8859-1?q?=BFQu=E9_significa_=3D=3FISO-8859-1=3FQ=3F=3DF?=\n =?iso-8859-1?q?6=3F=3D_en_el_Asunto=3F?=\n"
`----

Bye, Reiner.

(1) nntp://news.gmane.org/gmane.test/620
(2) nntp://news.gmane.org/gmane.test/624
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/




^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2003-05-22 17:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-28 17:20 Another problem with rfc2047 encoding Reiner Steib
2003-04-28 20:47 ` Reiner Steib
2003-05-01  6:38 ` Lars Magne Ingebrigtsen
2003-05-01  6:49 ` Thomas Hühn
2003-05-01  7:14   ` Lars Magne Ingebrigtsen
2003-05-01  7:39     ` Thomas Hühn
2003-05-01 14:48       ` Lars Magne Ingebrigtsen
2003-05-04 19:42       ` Christoph Garbers
2003-05-08 22:49         ` Dave Love
2003-05-15 17:26           ` Christoph Garbers
2003-05-16 16:42             ` Dave Love
2003-05-20 12:42               ` Christoph Garbers
2003-05-22 17:01                 ` Dave Love
2003-05-01  8:15   ` Bjørn Mork
2003-05-01  8:42     ` Lars Magne Ingebrigtsen
2003-05-01 12:46     ` Simon Josefsson
2003-05-01 13:28       ` Bjørn Mork
2003-05-02 16:10         ` Lars Magne Ingebrigtsen

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