Special Charecters = How are they saved and converted? Eg. Ö

Special Charecters = How are they saved and converted? Eg. Ö

raisoncoraisonco Posts: 17Questions: 5Answers: 0

If I save the name Özlem Yüce into my mySQL db via DataTables it is saved as Özlem Yüce

How is this being saved in the database? I'm using PHP and tried iconv to convert but without total luck.

eg. if I look through my database results (returning the above) and use iconv as follows:

iconv("UTF-8", "ISO-8859-1//IGNORE", $name);

This will convert to:

�zlem Yüce

Any ideas where I am going wrong or a better way to access these special chars saved to the db with DataTables? Thanks

Answers

Sign In or Register to comment.