I have a mysql database with latin1 default character set name. Through php I save strings in mysql table. From the table I parse some data into tables using DataTables. Everything work ok, but now I have some problems with circumflex letters and FPDF.
So if I save a string "račun" in the table, the result in the table will be "raÄun". Or the string "število" will be "Å¡tevilo".
OK -> DataTables decodes those words back normally.. But now when I am using FPDF it gets those string as they are stored in MySQL table and print them "encoded".
I tried
iconv("ISO-8859-1", "ISO-8859-2", "Števika računa")
and
utf8_decode("Števika računa)
But nothing worked.. does anybody has an idea what should I do?