How can you set unicode to ISO-8859-1 so chars like æ, ø, å will work? Now all special chars are ignored in text strings
new TCPDF('P', 'mm', 'A4', true, 'ISO-8859-1', false, true);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have your text in utf-8, use iconv first:
If it’s not the case, ensure that you are using proper font. I have just checked
timesand it have all special characters from iso-8859-1.Edit:
You will also have to set
$unicode = FALSEinTCPDFconstructor: