Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: Display occidental characters in name of files attached
       [not found] <87bs2n4cu5.fsf@ouvaton.org>
@ 2003-01-11 21:12 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; only message in thread
From: Lars Magne Ingebrigtsen @ 2003-01-11 21:12 UTC (permalink / raw)


Jean-Philippe Georget <jpgeorget@ouvaton.org> writes:

> I receive some files with occidental characters and Gnus display
> somthing like :
>
>   [2. application/zip; =?ISO-8859-1?Q?pr=E9pa=20s=E9ance=204.ZIP?=]...
>                        ^^^^^^^^^^^^^^^  ^^^  ^^^ ^^^    ^^^^
>
> Is it possible to display the good characters like this ?
>
>   [2. application/zip; prépa séance.ZIP]...

Well -- the problem is that that encoding is invalid.  RFC2047 does
not allow using "Q" encodings of file names, so interpreting those
would (strictly speaking) be wrong.

(RFC2231 specifies how file names like that should be encoded, and
Gnus supports decoding those.)

On the other hand, Gnus could guess that some broken MUA has
Q-encoded something it shouldn't, but just decode it anyway.  That
would be the liberal thing to do.  Opinions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-11 21:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87bs2n4cu5.fsf@ouvaton.org>
2003-01-11 21:12 ` Display occidental characters in name of files attached 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).