summaryrefslogtreecommitdiff
path: root/imap/src
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-07-06 19:22:18 -0600
committerEduardo Chappa <chappa@washington.edu>2018-07-06 19:22:18 -0600
commit46320c849ee311cf4b39900993be8961e590a5c4 (patch)
tree259f517c3d4b77fa9de1e7f6bb93f6190c88ece2 /imap/src
parent0fd556115af6899df930f5e991f785cb8f2a58b5 (diff)
downloadalpine-46320c849ee311cf4b39900993be8961e590a5c4.tar.xz
* Remap UBOGON from 0xfffd to 0xfff8, since 0xfffd represents a missing
character in UTF-8, but 0xfff8 is undefined.
Diffstat (limited to 'imap/src')
-rw-r--r--imap/src/c-client/utf8.h2
1 files changed, 1 insertions, 1 deletions
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 */