summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-26 18:07:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-26 18:07:28 +0000
commit69c245b0cf5bf2585729fc7e5d9b2957c1a00851 (patch)
tree2121b16bd41fb701624abb6e92d9c079eb85a698 /mandoc.h
parent769a036f3a9f484327108011e3bfbe984e435947 (diff)
downloadmandoc-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 14fddd36..5052a8b3 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -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);