* accented characters in gnus-summary-line-format
@ 2011-11-09 8:42 Julien Cubizolles
2011-11-09 8:52 ` Reiner Steib
0 siblings, 1 reply; 3+ messages in thread
From: Julien Cubizolles @ 2011-11-09 8:42 UTC (permalink / raw)
To: ding
I'm using this to display the To field instead of the author in groups
collecting sent mail:
((gnus-summary-line-format "%8{%8d│%}%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23~(form (gnus-extra-header 'To))@%)%7{║%} %6{%B%} %s\n"))
The address is not correctly displayed when it contains non-ASCII
characters. For instance, I get
=?utf-8?Q?Cap=C3=A9ran?
instead of Capéran.
How should I correct it ?
Julien.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: accented characters in gnus-summary-line-format
2011-11-09 8:42 accented characters in gnus-summary-line-format Julien Cubizolles
@ 2011-11-09 8:52 ` Reiner Steib
2011-11-09 9:27 ` Julien Cubizolles
0 siblings, 1 reply; 3+ messages in thread
From: Reiner Steib @ 2011-11-09 8:52 UTC (permalink / raw)
To: ding
On Wed, Nov 09 2011, Julien Cubizolles wrote:
> I'm using this to display the To field instead of the author in groups
> collecting sent mail:
>
> ((gnus-summary-line-format "%8{%8d│%}%8{%4k│%}%9{%U%R%z%}%8{│%}%*%(%-23,23~(form (gnus-extra-header 'To))@%)%7{║%} %6{%B%} %s\n"))
>
> The address is not correctly displayed when it contains non-ASCII
> characters. For instance, I get
> =?utf-8?Q?Cap=C3=A9ran?
>
> instead of Capéran.
>
> How should I correct it ?
Use %f instead of the (gnus-extra-header 'To) form.
,----[ (info "(gnus)Summary Buffer Lines") ]
| `f'
| The name, `To' header or the `Newsgroups' header (*note To From
| Newsgroups::).
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: accented characters in gnus-summary-line-format
2011-11-09 8:52 ` Reiner Steib
@ 2011-11-09 9:27 ` Julien Cubizolles
0 siblings, 0 replies; 3+ messages in thread
From: Julien Cubizolles @ 2011-11-09 9:27 UTC (permalink / raw)
To: ding
Reiner Steib <reinersteib+gmane@imap.cc> writes:
> On Wed, Nov 09 2011, Julien Cubizolles wrote:
>
> Use %f instead of the (gnus-extra-header 'To) form.
>
> ,----[ (info "(gnus)Summary Buffer Lines") ]
> | `f'
> | The name, `To' header or the `Newsgroups' header (*note To From
> | Newsgroups::).
> `----
That's what I was using but I hadn't set the gnus-ignored-from-addresses
variable.
Thanks for pointing that out.
Julien.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-09 9:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-09 8:42 accented characters in gnus-summary-line-format Julien Cubizolles
2011-11-09 8:52 ` Reiner Steib
2011-11-09 9:27 ` Julien Cubizolles
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).