From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 23ca5647 for ; Wed, 26 Feb 2020 19:36:51 -0500 (EST) Date: Wed, 26 Feb 2020 19:36:51 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Fix this test after the recent Unicode update in OpenBSD base. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <11fef7999c88764b@mandoc.bsd.lv> Log Message: ----------- 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. Modified Files: -------------- mandoc/regress/char/unicode: input.out_utf8 Revision Data ------------- Index: input.out_utf8 =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/char/unicode/input.out_utf8,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/char/unicode/input.out_utf8 -Lregress/char/unicode/input.out_utf8 -u -p -r1.1 -r1.2 --- regress/char/unicode/input.out_utf8 +++ 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 -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv