From 46320c849ee311cf4b39900993be8961e590a5c4 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Fri, 6 Jul 2018 19:22:18 -0600 Subject: * Remap UBOGON from 0xfffd to 0xfff8, since 0xfffd represents a missing character in UTF-8, but 0xfff8 is undefined. --- imap/src/c-client/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap/src') diff --git a/imap/src/c-client/utf8.h b/imap/src/c-client/utf8.h index d080c1b0..8a73ef9e 100644 --- a/imap/src/c-client/utf8.h +++ b/imap/src/c-client/utf8.h @@ -383,7 +383,7 @@ * same text width as 0x???? in case we ever add static reverse mapping tables. */ -#define UBOGON UCS2_BOGON +#define UBOGON 0xfff8 /* unmapped from UCS2_BOGON */ #define NOCHAR UCS2_NOTCHAR /* Codepoints in non-Unicode character sets */ -- cgit v1.2.3-70-g09d2