diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-26 18:07:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-26 18:07:28 +0000 |
commit | 69c245b0cf5bf2585729fc7e5d9b2957c1a00851 (patch) | |
tree | 2121b16bd41fb701624abb6e92d9c079eb85a698 /mandoc.h | |
parent | 769a036f3a9f484327108011e3bfbe984e435947 (diff) | |
download | mandoc-69c245b0cf5bf2585729fc7e5d9b2957c1a00851.tar.gz |
In -Tascii mode, provide approximations even for some Unicode escape
sequences above codepoint 512 by doing a reverse lookup in the
existing mandoc_char(7) character table.
Again, groff isn't smart enough to do this and silently discards such
escape sequences without printing anything.
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -426,6 +426,7 @@ enum mandoc_esc mandoc_escape(const char **, const char **, int *); struct mchars *mchars_alloc(void); void mchars_free(struct mchars *); char mchars_num2char(const char *, size_t); +const char *mchars_uc2str(int); int mchars_num2uc(const char *, size_t); int mchars_spec2cp(const struct mchars *, const char *, size_t); |