summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2013-11-10 20:17:15 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2013-11-10 20:17:15 +0000
commit52f345c097d1cdd19c91788167e29d1c822198c8 (patch)
treeaae2af10426959729a7b0b5ee2370dcf54b59f63 /share
parent545f8030b243615d3adb03dee4345d952f58ed70 (diff)
Support the alternative syntax \C'uXXXX' for Unicode characters.
It is already documented in the Heirloom troff manual, and groff handles it as well. Bug reported by Bjarni Ingi Gislason <bjarniig at rhi dot hi dot is> on <bug-groff at gnu dot org>. Well, admittedly, that bug was reported against groff, but mandoc was even more broken than groff with respect to this syntax...
Diffstat (limited to 'share')
-rw-r--r--share/man/man7/mandoc_char.78
1 files changed, 4 insertions, 4 deletions
diff --git a/share/man/man7/mandoc_char.7 b/share/man/man7/mandoc_char.7
index f630d01edeb..0cbb81dca75 100644
--- a/share/man/man7/mandoc_char.7
+++ b/share/man/man7/mandoc_char.7
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mandoc_char.7,v 1.18 2013/11/10 17:47:42 jmc Exp $
+.\" $OpenBSD: mandoc_char.7,v 1.19 2013/11/10 20:17:14 schwarze Exp $
.\"
.\" Copyright (c) 2003 Jason McIntyre <jmc@openbsd.org>
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -655,11 +655,11 @@ manual.
.It \e*(Ai Ta \*(Ai Ta ANSI standard name
.El
.Sh UNICODE CHARACTERS
-The escape sequence
+The escape sequences
.Pp
-.Dl \e[uXXXX]
+.Dl \e[uXXXX] and \eC'uXXXX'
.Pp
-is interpreted as a Unicode codepoint.
+are interpreted as Unicode codepoints.
The codepoint must be in the range above U+0080 and less than U+10FFFF.
For compatibility, the hexadecimal digits
.Sq A