Re: [exim-dev] [Bug 1401] New: New expansion operator ${utf8…

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Axel Rau
Datum:  
To: Jasen Betts
CC: exim-dev
Betreff: Re: [exim-dev] [Bug 1401] New: New expansion operator ${utf8clean}

Am 19.10.2013 um 00:36 schrieb Jasen Betts <jasen@???>:

> On 2013-10-17, Axel Rau <axel.rau@???> wrote:
>
>> The attached patch against 4.82.RC3 implements a new expansion operator, which
>> replaces invalid utf-8 sequences by an replacement character. Testcase and
>> documentaion update are included.
>
> patch:
> #define UTF8_REPLACEMENT_CHAR US"?"
>
> It seems to me that "� " might be a better choice.
> AIUI this is written as "\uFFFD" or "\xEF\xBF\xBD" in C source.

You are right, but I decided to have a pure ASCII replacement character, to allow for none-utf8-clean terminal session while running the test suite. This might work, but I'm not sure.
Perhaps someone, who has installed the patch and has run test 600, can comment.

Axel
---
PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius