Hey,
I’m trying to read pdf files with something like this:
PoDoFo::PdfContentsTokenizer tok(page);
const char* token = nullptr;
PoDoFo::PdfVariant var;
PoDoFo::EPdfContentsType type;
while (tok.ReadNext(type, token, var)) {
if (type == PoDoFo:: ePdfContentsType_Variant) {
if (var.IsString()) {
PdfString x_s = var.GetString();
string x = x_s.GetString();
And everything is fine except I got polish characters in my pdf files, like
‘ąęłńśćżźó’ and I can’t get them to my string.
wstring x = x_s.GetStringW(); doesn’t work as well.
Can you help me understand how to reach my goal?
Best regards & thanks for your great work with PoDoFo Library.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users