#2956: Recipient address broken if containing Š character (UTF-8 code: 0xc5 0xA0)
Comment (by pdmef): Replying to [comment:7 phr]: > A quick fix for FreeBSD seems to be replace all ocurrences of isspace > like this: > #define isspace(c) iswspace(btowc(c)) I don't think this is right. The problem is that 0xC5 and 0xA0 are two bytes and functions like isspace() likely get called for 0xC5 __and__ 0xA0 while looping byte-wise over some input (to e.g. find word boundaries). -- Ticket URL: <http://dev.mutt.org/trac/ticket/2956#comment:9>
