Hi all
I have problem with pdf Unicode characters.
Curently using http://www.tecnick.com/public/code/cp_d ... p_dp=tcpdf tcpdf class to create pdf on the fly, and here in Croatia we have special characters "čćžšđČĆŽŠĐ".
If I write this characters into script and show it in file created on the fly everything works great, but if I take data from database and show it on created pdf file, I can't see those characters, but I see some other stuff, like squres etc etc ....
In database Collation is set to cp1250_croatian_ci and in lang config file $l['a_meta_charset'] = "windows-1250";
Can somebody help me with this problem?
Why if I hardcode value in variable
$somevariable = "čćžšđČĆŽŠĐ";
and show it
$pdf->Cell(0,10,$somevariable,0,1,'C');
it shows ok, but if I take value from db into variable and show it it doesnt show as it should???
If I echo variable it shows like it is (OK).
please help
regards
ddragas
pdf Unicode characters ??
Moderator: General Moderators