aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc_char.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-15 15:30:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-15 15:30:33 +0000
commitc462999d899acf87741657ed63dff7612559ce20 (patch)
tree4e1028eea4535afb09994ed28b83f7337878f9e7 /mandoc_char.7
parent4dc1b5414a1d1531b0c9a1b0061792b0076e329a (diff)
downloadmandoc-c462999d899acf87741657ed63dff7612559ce20.tar.gz
mandoc-c462999d899acf87741657ed63dff7612559ce20.tar.zst
mandoc-c462999d899acf87741657ed63dff7612559ce20.zip
Support groff's escape for Unicode input. See
http://mdocml.bsd.lv/archives/tech/0368.html For the time being, we just throw it away.
Diffstat (limited to 'mandoc_char.7')
-rw-r--r--mandoc_char.718
1 files changed, 16 insertions, 2 deletions
diff --git a/mandoc_char.7 b/mandoc_char.7
index c52d1e78..d0c5dd7f 100644
--- a/mandoc_char.7
+++ b/mandoc_char.7
@@ -1,4 +1,4 @@
-.\" $Id: mandoc_char.7,v 1.44 2011/05/01 08:45:10 kristaps Exp $
+.\" $Id: mandoc_char.7,v 1.45 2011/05/15 15:30:33 kristaps Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 1 2011 $
+.Dd $Mdocdate: May 15 2011 $
.Dt MANDOC_CHAR 7
.Os
.Sh NAME
@@ -520,6 +520,20 @@ portable.
.It \e*(Px Ta \*(Px Ta POSIX standard name
.It \e*(Ai Ta \*(Ai Ta ANSI standard name
.El
+.Sh UNICODE CHARACTERS
+The escape sequence
+.Pp
+.Dl \e[uXXXX]
+.Pp
+is interpreted as a Unicode codepoint.
+The codepoint must be in the range above U+0080 and less than U+10FFFF.
+For compatibility, points must be zero-padded to four characters; if
+greater than four characters, no zero padding is allowed.
+Unicode surrogates are not allowed.
+.\" .Pp
+.\" Unicode glyphs attenuate to the
+.\" .Sq \&?
+.\" character if invalid or not rendered by current output media.
.Sh NUMBERED CHARACTERS
For backward compatibility with existing manuals,
.Xr mandoc 1