mysql - SQL Turkish Language displaying issue -


i displaying data turkish characters sql database of godaddy have issue displays kadıkoy word kad?koy. have set type text , collation utf-8_turkish_ci didn't work. have tried ucs2_turkish_ci , latin5_turkish_ci didn't work.

so please problem?

first of all, make sure file saved in utf-8 format. check have meta tag content-type in html content "text/html;charset=utf-8"

in html header:

you can try calling header('content-type: text/html; charset=utf-8'); @ beginning of php script or adding adddefaultcharset utf-8 .htaccess file.


Comments

Popular posts from this blog

javascript - JS causing window size to be bigger than necessary - Dropdown bug -

How to mention the localhost in android -

php - Calling a template part from a post -