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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jasen Betts
Date:  
À: exim-dev
Sujet: Re: [exim-dev] [Bug 1401] New: New expansion operator ${utf8clean}
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.

--
⚂⚃ 100% natural