pdf and special character stopped working
Posted: Tue Dec 02, 2008 10:52 am
I know there are often problems with pdf and special characters such as é and € not working, being represented by some different character.
I Use the R&OS classes to make my pdf's and made some invoices. In those invoices I tried to use the € sign for Euro and to my initial amazement it worked. It was correctly placed as an € sign.
Now all of a sudden that doesn't work anymore. A other character (A with " on top of it) is placed instead of the Euro sign. I did not do anything to the classes themselves, and as far as I know I didn't change the invoice creator class I made.
Is there some kind of setting in php.ini or apache that could have influenced this. I have no clue as to why this suddenly changed?!?
PS no special char works anymore. So é etc. doesn't work either. Simply replacing the Sign with the tekst 'Euro' is not sufficient anymore since a customer might have a special character in the name, which at that point will bug as well.
PS2 I tried other things like '€' or '#&0128', htmlspecialchars('€') but the tekst is taken litterally and no euro sign appears anymore.
Help me please!?
I Use the R&OS classes to make my pdf's and made some invoices. In those invoices I tried to use the € sign for Euro and to my initial amazement it worked. It was correctly placed as an € sign.
Now all of a sudden that doesn't work anymore. A other character (A with " on top of it) is placed instead of the Euro sign. I did not do anything to the classes themselves, and as far as I know I didn't change the invoice creator class I made.
Is there some kind of setting in php.ini or apache that could have influenced this. I have no clue as to why this suddenly changed?!?
PS no special char works anymore. So é etc. doesn't work either. Simply replacing the Sign with the tekst 'Euro' is not sufficient anymore since a customer might have a special character in the name, which at that point will bug as well.
PS2 I tried other things like '€' or '#&0128', htmlspecialchars('€') but the tekst is taken litterally and no euro sign appears anymore.
Help me please!?