FPDF Yen(¥) symbol decoding problem solved

I have been having problems with the output by FPDF library with the Yen symbol (¥).
Whenever I want to display the yen symbol it appears to be like this:

Â¥

There's seems to have an "Â" character next to it. There must have been a decoding bug in FPDF.

Thanks to  this post from stack overflow, I finally found a way to successfully output the yen symbol.

$currency=iconv("UTF-8", "ISO-8859-1//TRANSLIT", '¥');

Comments

Popular