diff options
Diffstat (limited to 'zen/zstring.h')
-rw-r--r-- | zen/zstring.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/zen/zstring.h b/zen/zstring.h index bf7ac526..00b1c86e 100644 --- a/zen/zstring.h +++ b/zen/zstring.h @@ -79,11 +79,11 @@ struct LessNaturalSort { bool operator()(const Zstring& lhs, const Zstring& rhs) //------------------------------------------------------------------------------------------ //common Unicode characters -const wchar_t EN_DASH = L'\u2013'; -const wchar_t EM_DASH = L'\u2014'; +const wchar_t EN_DASH = L'\u2013'; //– +const wchar_t EM_DASH = L'\u2014'; //— const wchar_t* const SPACED_DASH = L" \u2014 "; //using 'EM DASH' -const wchar_t* const ELLIPSIS = L"\u2026"; //"..." -const wchar_t MULT_SIGN = L'\u00D7'; //fancy "x" +const wchar_t* const ELLIPSIS = L"\u2026"; //… +const wchar_t MULT_SIGN = L'\u00D7'; //× const wchar_t NOBREAK_SPACE = L'\u00A0'; const wchar_t ZERO_WIDTH_SPACE = L'\u200B'; @@ -96,7 +96,10 @@ const wchar_t RTL_MARK = L'\u200F'; //UTF-8: E2 80 8F https://www.w3.org/Interna //const wchar_t BIDI_DIR_EMBEDDING_RTL = L'\u202B'; //=> not working on Win 10 //const wchar_t BIDI_POP_DIR_FORMATTING = L'\u202C'; //=> not working on Win 10 -const wchar_t RIGHT_ARROW_CURV_DOWN = L'\u2935'; //Right Arrow Curving Down +const wchar_t RIGHT_ARROW_CURV_DOWN = L'\u2935'; //Right Arrow Curving Down: ⤵ +//Windows bug: rendered differently depending on presence of e.g. LTR_MARK! +//there is no "Left Arrow Curving Down" => WTF => better than nothing: +const wchar_t LEFT_ARROW_ANTICLOCK = L'\u2B8F'; //Anticlockwise Triangle-Headed Top U-Shaped Arrow: ⮏ const wchar_t* const TAB_SPACE = L" "; //4: the only sensible space count for tabs |