summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/string-util.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-08-08 13:41:31 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-08-17 13:38:48 +0200
commit7225ddf9df514c6c88ecbe01c708137a324456c7 (patch)
tree9bbe65936eb4a95636bca0cf151975be41712dbc /include/mupdf/fitz/string-util.h
parentaf356930857b57d4f0d9a193603d64ab709a8e56 (diff)
downloadmupdf-7225ddf9df514c6c88ecbe01c708137a324456c7.tar.xz
Add FZ_REPLACEMENT_CHARACTER define for U+FFFD character.
Diffstat (limited to 'include/mupdf/fitz/string-util.h')
-rw-r--r--include/mupdf/fitz/string-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mupdf/fitz/string-util.h b/include/mupdf/fitz/string-util.h
index b174539a..41c4d473 100644
--- a/include/mupdf/fitz/string-util.h
+++ b/include/mupdf/fitz/string-util.h
@@ -3,6 +3,9 @@
#include "mupdf/fitz/system.h"
+/* The Unicode character used to incoming character whose value is unknown or unrepresentable. */
+#define FZ_REPLACEMENT_CHARACTER 0xFFFD
+
/*
Safe string functions
*/