diff options
author | Jay Berkenbilt <ejb@ql.org> | 2019-01-05 19:13:16 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2019-01-06 05:01:44 +0100 |
commit | b341d742dbb69ef3cc827f06e4aaddfe67b18d0f (patch) | |
tree | 1bb2eb6a85aaf9a22cbf86894d6b148c974add72 /include | |
parent | 3ef1b77304ec49ec2527d8cc3e17e1d0dd220720 (diff) | |
download | qpdf-b341d742dbb69ef3cc827f06e4aaddfe67b18d0f.tar.zst |
Add WinAnsi and MacRoman encoding
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QUtil.hh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh index c7473bf3..2503a475 100644 --- a/include/qpdf/QUtil.hh +++ b/include/qpdf/QUtil.hh @@ -163,6 +163,12 @@ namespace QUtil QPDF_DLL std::string utf8_to_ascii( std::string const& utf8, char unknown_char = '?'); + QPDF_DLL + std::string utf8_to_win_ansi( + std::string const& utf8, char unknown_char = '?'); + QPDF_DLL + std::string utf8_to_mac_roman( + std::string const& utf8, char unknown_char = '?'); // If secure random number generation is supported on your // platform and qpdf was not compiled with insecure random number |