From d0fb47c4e52de4d83cd9b58fbfb7ef94c63ea96d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 27 Feb 2020 00:36:20 +0000 Subject: 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. --- regress/char/unicode/input.out_utf8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'regress/char/unicode/input.out_utf8') 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 -- cgit