diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-27 00:36:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-02-27 00:36:20 +0000 |
commit | d0fb47c4e52de4d83cd9b58fbfb7ef94c63ea96d (patch) | |
tree | 4d444a66bd4ef3b5542278cac5b26b802c32e687 /regress/char | |
parent | be9bc5f32ffd94d94c5016589b6f29f421469ba4 (diff) | |
download | mandoc-d0fb47c4e52de4d83cd9b58fbfb7ef94c63ea96d.tar.gz |
Fix this test after the recent Unicode update in OpenBSD base.
The test uses U+07FF NKO TAMAN SIGN because it is the highest
code point having a two-byte UTF-8 representation.
This character is a new single-width punctuation character in
Unicode 11, such that mandoc now does correct horizontal spacing.
We already used the code point for the test before it was assigned,
which resulted in weird spacing because wcwidth(3) returns -1 for
unassigned code points.
Diffstat (limited to 'regress/char')
-rw-r--r-- | regress/char/unicode/input.out_utf8 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/char/unicode/input.out_utf8 b/regress/char/unicode/input.out_utf8 index 890835d3..6a18fd6b 100644 --- a/regress/char/unicode/input.out_utf8 +++ b/regress/char/unicode/input.out_utf8 @@ -23,7 +23,7 @@ DDEESSCCRRIIPPTTIIOONN 0xc278 ?x ASCII continuation U+0080 0xc280 �� lowest two-byte 0xc2c380 ?À high continuation - U+07FF 0xdfbf ߿߿ highest two-byte + U+07FF 0xdfbf ߿߿ highest two-byte TThhrreeee--bbyyttee rraannggee |