summaryrefslogtreecommitdiff
path: root/wsutil/utf8_entities.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2016-05-09 13:35:36 -0700
committerGerald Combs <gerald@wireshark.org>2016-05-11 17:30:33 +0000
commitd7cbea94282099405e0754ff927ec3a5a79dcb9d (patch)
treefc400ad7f91d0cbd02e05993646245b447a937dd /wsutil/utf8_entities.h
parentbca12baa4c79fe383f67da3c12b4b1cb6c1e09ac (diff)
downloadwireshark-d7cbea94282099405e0754ff927ec3a5a79dcb9d.tar.gz
TShark: Add a "-E bom=" option.
Add an option to print the UTF-8 BOM. Change-Id: I3d30c67852b9b89d1548b0f957d97fd8e8741049 Reviewed-on: https://code.wireshark.org/review/15318 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'wsutil/utf8_entities.h')
-rw-r--r--wsutil/utf8_entities.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/wsutil/utf8_entities.h b/wsutil/utf8_entities.h
index 13dba64270..6cb06e1f86 100644
--- a/wsutil/utf8_entities.h
+++ b/wsutil/utf8_entities.h
@@ -58,6 +58,9 @@
#define UTF8_BALLOT_X "\xe2\x9c\x97" /* 10007 / 0x2717 */
#define UTF8_LONG_RIGHTWARDS_ARROW "\xe2\x9f\xb6" /* 10230 / 0x27f6 */
+#define UTF8_ZERO_WIDTH_NO_BREAK_SPACE "\xef\xbb\xbf" /* 65279 / 0xffef */
+#define UTF8_BOM UTF8_ZERO_WIDTH_NO_BREAK_SPACE
+
#endif /* __UTF8_ENTITIES_H__ */
/*