From 4e9a246966125ec03e481374634f3448a906235b 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(-) 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 v1.2.3-56-ge451