So I'm trying to save Turkish characters into my database which normally runs with utf8_general_ci
and UTF-8 on the website. But since this project from "Turkey" I cannot seem to succesfully save the characters entered by users on their website into our database.
It currently saves like this:
Kırıkkale
İstanbul
The code I'm using to convert characters in php before saving to database is:
iconv("ISO-8859-1", "UTF-8", $city);
In the website header I use:
<html lang="tr-TR">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9" />
Does anyone know how I can encode this properly to readable data? And is there any chance I can change the current stored data to readable data?