how it works:
1. write to pdf from mysql database
2. attach the pdf file then send to recipients
additional info settings:
msql collation: utf8_unicode_ci
for pdf email:
$doc2->setCharset('ISO-8859-1');
$doc2->setEmailCharset('ISO-8859-1');
so far this works properly when sent to recipients except for the Norwegian characters which displays in funny way.
for example: Æ turns out to be Æ. same as the other. i want and the client wants the information to display as is to the pdf. the database will save Æ as Æ so far , but when retrieved from database and write it to pdf file, it turns out different. what should i do to make it display properly?
hope you guys answer back in english. thanks in advance.
1. write to pdf from mysql database
2. attach the pdf file then send to recipients
additional info settings:
msql collation: utf8_unicode_ci
for pdf email:
$doc2->setCharset('ISO-8859-1');
$doc2->setEmailCharset('ISO-8859-1');
so far this works properly when sent to recipients except for the Norwegian characters which displays in funny way.
for example: Æ turns out to be Æ. same as the other. i want and the client wants the information to display as is to the pdf. the database will save Æ as Æ so far , but when retrieved from database and write it to pdf file, it turns out different. what should i do to make it display properly?
hope you guys answer back in english. thanks in advance.
Sist redigert: