Skip to content

Commit

Permalink
lib: unichar: Add Horizontal Ellipsis character.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch authored and villesavolainen committed Apr 27, 2018
1 parent ed33a45 commit bfc72f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/unichar.h
Expand Up @@ -4,6 +4,9 @@
/* Character used to replace invalid input. */
#define UNICODE_REPLACEMENT_CHAR 0xfffd
#define UNICODE_REPLACEMENT_CHAR_UTF8 "\xEF\xBF\xBD"
/* Horizontal ellipsis character ('...') */
#define UNICODE_HORIZONTAL_ELLIPSIS_CHAR 0x2026
#define UNICODE_HORIZONTAL_ELLIPSIS_CHAR_UTF8 "\xE2\x80\xA6"

/* Characters >= base require surrogates */
#define UTF16_SURROGATE_BASE 0x10000
Expand Down

0 comments on commit bfc72f9

Please sign in to comment.