I have a PDF file which has been encoded to base64. Now I want to convert these base64 script and write to a file to make a PDF file, I have try as following code:
Qt Code:
out << data; file.close();To copy to clipboard, switch view to plain text mode
It can create the PDF file but it can not be read, the Foxit Reader say that "format error". I check the data has been decoded and I found that some special character become "?". How could I get all the character out? Could anyone can give me a solution?
Bookmarks