dovecot-2.2: lib: Added UNICODE_REPLACEMENT_CHAR_UTF8

dovecot at dovecot.org dovecot at dovecot.org
Sat May 16 10:22:25 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/ee240e7e4b6e
changeset: 18716:ee240e7e4b6e
user:      Timo Sirainen <tss at iki.fi>
date:      Sat May 16 13:20:22 2015 +0300
description:
lib: Added UNICODE_REPLACEMENT_CHAR_UTF8

diffstat:

 src/lib/unichar.h |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r aa216b4f1e0e -r ee240e7e4b6e src/lib/unichar.h
--- a/src/lib/unichar.h	Sat May 16 12:51:08 2015 +0300
+++ b/src/lib/unichar.h	Sat May 16 13:20:22 2015 +0300
@@ -3,6 +3,7 @@
 
 /* Character used to replace invalid input. */
 #define UNICODE_REPLACEMENT_CHAR 0xfffd
+#define UNICODE_REPLACEMENT_CHAR_UTF8 "\xEF\xBF\xBD"
 
 /* Characters >= base require surrogates */
 #define UTF16_SURROGATE_BASE 0x10000


More information about the dovecot-cvs mailing list