Hi,
I have weird issue. I have mysql with utf8_general_ci and file with only PHP in which I wanna add text from database to image. Everything works but I can’t display special characters. PHP file is saved with UTF-8 without BOM. What I doing wrong?
I use simple imagettftext().
PS Sorry for my English, it’s not my native language.
When I try echo mb_detect_encoding('ąśćż'); it says UTF-8 and everything is displayed properly.
But when i try to display data form database it says ASCII and special characters are not displayed. I don’t know what I doing wrong
Probably need to see your code, then. I haven’t used this so cannot offer anything more, but others may be able to help if we can see what’s going on, and perhaps a sample image and what it should say.