Hi All,
? I am just a new programmer. I would like to ask you whether someone has an idea to solve my problem. Right now, I am using PHP version 4 and I got a problem when I want to display the special characters. For example I have $delivery_address[‘town’] which has a value “Münich” (retreive from the database) but when I display on the pdf, I got the result “Münich”.
Code:
$this->set_fontsize(12);
pdf_show_xy($this->pdf, $delivery_address[‘zip’] . ‘ ‘ . $delivery_address[‘town’], $x + 8, $y);
function set_fontsize($size) {
$font = pdf_findfont($this->pdf, ‘Helvetica’, ‘winansi’, 0);
pdf_setfont($this->pdf, $font, $size);
}
When I replaced $delivery_address[‘town’] on the code with “Münich”, it’s going to show “Münich”. It’s very strange for me. Does anyone could help me to solve this problem?
Thank you,
Cnyo ^__^