Re: [Mutt] #2956: Recipient address broken if containing Š character (UTF-8 code: 0xc5 0xA0)
#2956: Recipient address broken if containing Š character (UTF-8 code: 0xc5
0xA0)
Comment (by Vincent Lefevre):
{{{
On 2007-09-17 17:23:35 -0000, Mutt wrote:
> Comment (by phr):
> > I do not set $send_charset. My $charset contains //TRANSLIT, but
> > this one is correct.
>
> You can simply omit the //TRANSLIT. Any charset is fully
> convertible into UTF-8, so //TRANSLIT is useless here.
Of course, but //TRANSLIT is generated automatically by my config
scripts: I do not always use UTF-8 locales, and in other character
sets, //TRANSLIT is necessary. I don't want to bloat my config
scripts just because of a bug in Mutt (and the isspace bug would
still be there anyway, so the workaround wouldn't be complete).
> Yes, that's exactly what's happening. When I "fix" isspace not to
> recognize 0xA0, the subject Test Š is encoded and sent correctly as
> Test =?utf-8?B?xaA=?=
But your "fix" still cannot recognize U+00A0 as a space in UTF-8
locales.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2956#comment:>