简体   繁体   中英

FPDF does not accept UFT8 on variables

$pdf->text(102, 101, iconv('UTF-8', 'windows-1252',$geslachtsnaam_vertegenwoordiger), TRUE);

This is the function I am using to make FPDF accept letters like : ä and é .

It does work when I use it on normal text, but not on a variable.

It gives me : x&aumlnder

It works on static text but not on variable text which came from the database.

Can someone please help me? Thanks in advance.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM