testPDf = testPDf.replaceAll("\n", "");
are you sure you should be doing this? As far as I know newlines in a pdf file are significant.
↧
Comment by Federico klez Culloca on How to convert a raw pdf file string to base64?
↧