From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/1844 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.user Subject: Re: Display occidental characters in name of files attached Date: Sat, 11 Jan 2003 22:12:53 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <87bs2n4cu5.fsf@ouvaton.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138668491 12930 80.91.229.2 (31 Jan 2006 00:48:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:48:11 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:29:47 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1042319914 349 80.91.231.2 (11 Jan 2003 21:18:34 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 11 Jan 2003 21:18:34 GMT Mail-Copies-To: never X-Now-Playing: Multiplex's _Mixt_: "Patience (Mitchell Akiyama)" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEX9/ftIS5IsNImXjKgc I3Dh29sdnA7JAAAB60lEQVR4nI2US5ajMAxFXeF4HtlhXlZ7AdCCBWCcORTx/rfSkgyEyqg14uii pw8SpnzaRmrm/8yWD0dZqn80G5WlUOVEnsCPNKp6D2w98JsWHcJuiOiCPnXGNPDIU/U7BuKPGe7G fAW/rNPhl+A4bqkC6IZDiwOwXb0CnKBtpjMJhgZoB96bXl5Gtftfr+AHJ4LlhRm8VOvmJlCvwM3U d41f9maX1dOADG4cQe1lDD3RAzVH+DXMhhUTfjOIkWexvAHRkCSiyZmuYBWlGpGfV0CihDyrW8yh bOYDaFU5d+8AU8YXqtQNEz5P92KskWFq54h/ONWs4OtpbDoiGCzmNatc05rmBE6AtQpKsdsOfoLD UBgci6JAqgqI8bI2F+AwjleAew6OwFYSWA8CVgFdrQqfCnIW8MKAdexscwWTbOML8Q0myV4y8218 7FIKomwvf5bO0ph+gZFbZCD7q2DZAc7nyQxv4FSLTcHjkLo5KS/Ox41lPHIExyEZRb4lP5zgR7c8 BV822d6UTiAjiQnGVfyyIZfpYmZg+gpiTvHsg4EzHOIVsMC9lsvP0He2B+qHmHOO6fsAAehpqSc+ yBNIF1wUgOXzCJDVBIB0Icfd2vKAN2jAubRfOvt3INsO+3XvdgGBgAH/OepfoIJ/RyuNKjhmbCAA AAAASUVORK5CYII= User-Agent: Gnus/5.090011 (Oort Gnus v0.11) Emacs/21.2.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:fIPbjKjQMDVBdhVwJN8lw4id+fY= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:1984 Original-Lines: 26 X-Gnus-Article-Number: 1984 Tue Jan 17 17:29:47 2006 Xref: news.gmane.org gmane.emacs.gnus.user:1844 Archived-At: Jean-Philippe Georget 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