diff options
-rw-r--r-- | ui/qt/simple_dialog.cpp | 2 | ||||
-rw-r--r-- | ui/utf8_entities.h | 15 |
2 files changed, 10 insertions, 7 deletions
diff --git a/ui/qt/simple_dialog.cpp b/ui/qt/simple_dialog.cpp index 9f6335fd20..ea3ef218e4 100644 --- a/ui/qt/simple_dialog.cpp +++ b/ui/qt/simple_dialog.cpp @@ -46,7 +46,7 @@ QList<MessagePair> message_queue_; ESD_TYPE_E max_severity_ = ESD_TYPE_INFO; -const char *primary_delimiter_ = "\uffff"; +const char *primary_delimiter_ = UTF8_NONCHARACTER; const char * simple_dialog_primary_start(void) { diff --git a/ui/utf8_entities.h b/ui/utf8_entities.h index 18b0fc1a59..06eb486ea5 100644 --- a/ui/utf8_entities.h +++ b/ui/utf8_entities.h @@ -31,14 +31,17 @@ * and other places */ -#define UTF8_MIDDLE_DOT "\xc2\xb7" /* 183 / 0xb7 */ +#define UTF8_MIDDLE_DOT "\xc2\xb7" /* 183 / 0xb7 */ -#define UTF8_HORIZONTAL_ELLIPSIS "\xe2\x80\xa6" /* 8230 / 0x2026 */ -#define UTF8_LEFTWARDS_ARROW "\xe2\x86\x90" /* 8592 / 0x2190 */ -#define UTF8_RIGHTWARDS_ARROW "\xe2\x86\x92" /* 8594 / 0x2192 */ -#define UTF8_LEFT_RIGHT_ARROW "\xe2\x86\x94" /* 8596 / 0x2194 */ +#define UTF8_HORIZONTAL_ELLIPSIS "\xe2\x80\xa6" /* 8230 / 0x2026 */ +#define UTF8_LEFTWARDS_ARROW "\xe2\x86\x90" /* 8592 / 0x2190 */ +#define UTF8_RIGHTWARDS_ARROW "\xe2\x86\x92" /* 8594 / 0x2192 */ +#define UTF8_LEFT_RIGHT_ARROW "\xe2\x86\x94" /* 8596 / 0x2194 */ + +#define UTF8_PLACE_OF_INTEREST_SIGN "\xe2\x8c\x98" /* 8984 / 0x2318 */ + +#define UTF8_NONCHARACTER "\xef\xbf\xbf" /* 65535 / 0xffff */ -#define UTF8_PLACE_OF_INTEREST_SIGN "\xe2\x8c\x98" /* 8984 / 0x2318 */ #endif /* __UTF8_ENTITIES_H__ */ /* |