PDF FROM DOCX

Certified Senior Developer

I am generating pdf document but document  may contains special characters like (’,>,<,*,",) so i am getting error,

is there any way to resolve this ?

  Discussion posts and replies are publicly visible