* mandoc: Fix this test after the recent Unicode update in OpenBSD base.
@ 2020-02-27 0:36 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2020-02-27 0:36 UTC (permalink / raw)
To: source
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 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
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
T\bTh\bhr\bre\bee\be-\b-b\bby\byt\bte\be r\bra\ban\bng\bge\be
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-27 0:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-27 0:36 mandoc: Fix this test after the recent Unicode update in OpenBSD base schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).