How to avoid garbage values written into a pdf file using itext?
posted 4 years ago
I m writing into a pdf file from my application using a itext api.A remark field from the application is first populated by the client which is stored in the database after saving and afterwards fetched from database and written into a pdf file.What client does is...he copies the data from a word file and copies it in the remark filed in the application before saving it.This data in MS Word contains bullets and numbers.So When this data is stored in the database ,it stores some garbage values into the database which I suppose represent the bullets.After generating the PDF the same garbage values appear in PDF.
the data written into PDF looks somewhat like this:
"Following are the actions taken by MCG
Branch has marked debit freeze
in the Effone Technologies account no.
So..is there any way by which these garbage values can be avoided???
Please help me out as this is really urgent....