CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2014/10/27 10:28:30

Modified files:
        usr.bin/mandoc : html.c 

Log message:
Handle output encoding for unicode, numbered and named escape sequences
in one common, safe way instead of three different ways.  In particular,
* skip NUL, it is used to mean "no output desired"
* deny 0x01-0x1F and 0x7F-0x9F, print REPLACEMENT CHARACTER instead
* print 0x20-0x7E literally or name-encoded, as required
* print characters above 0x9F numerically

Reply via email to