Hi Pavan,

Pavan Maddamsetti wrote on Sun, Jul 31, 2016 at 05:34:47PM -0400:

> man.openbsd.org/perl.1
> I'm seeing a bunch of question marks in the synopsis.

Good catch, thank you!

Fixed by the following commit to openbsd.org and mdocml.bsd.lv,
and already installed on the man.openbsd.org server.

Yours,
  Ingo


CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2016/07/31 17:35:26

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

Log message:
Some base system pages, for example perl(1), contain non-ASCII
characters in their source code, so switch on charset autodetection
in the same way as in man(1) itself.
Issue reported by Pavan Maddamsetti at gmail dot com on bugs@.


Index: cgi.c
===================================================================
RCS file: /cvs/src/usr.bin/mandoc/cgi.c,v
retrieving revision 1.74
diff -u -p -r1.74 cgi.c
--- cgi.c       11 Jul 2016 22:46:57 -0000      1.74
+++ cgi.c       31 Jul 2016 23:29:48 -0000
@@ -798,7 +798,8 @@ resp_format(const struct req *req, const
        }
 
        mchars_alloc();
-       mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_BADARG, NULL, req->q.manpath);
+       mp = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1,
+           MANDOCLEVEL_BADARG, NULL, req->q.manpath);
        mparse_readfd(mp, fd, file);
        close(fd);

Reply via email to