*ACIL*Türkçe karakter sorunu.
Arkadaşlar sitemde head taglarına hangi meta kodunu yazarsam yazıyım türkçe kodunu düzeltemedim. Sorun ne söylermisiniz?
denediğim kodlar:
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
<META http-equiv=content-type content=text/html;charset=windows-1254>
<META http-equiv=content-type content=text/html;charset=x-mac-turkish>
<meta http-equiv="Content-Type" content="text/HTML; charset=utf-8" />
Php
Bunu sayfanın en başına ekleyip denermisin?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<META http-equiv=content-type content=text/html;charset=iso-8859-9>
<META http-equiv=content-type content=text/html;charset=windows-1254>
Php
Sayfa bilgilerini veritabanında çekiyorsanız, veritabanı bağlantısını sağlayan php dosyasınıza;
mysql_query("SET NAMES 'UTF8'");
mysql_query("SET character_set_connection = 'UTF8'");
mysql_query("SET character_set_client = 'UTF8'");
mysql_query("SET character_set_results = 'UTF8'");
Lordnet'in söyledikleri ve ekstradan hatayı aldığın sayfayı Notepad++ tarzı bir programla açarak kodlamayı UTF-8 çevirmeyi deneyin..
Bir sorunla karşılacağınızı düşünmüyorum ama biz buradayız..
İyi çalışmalar..
Php
simdi bir dosyayı utf8 bile yapsanız hata alma ihtimaliniz vardır notepad uzerinden bomsuz utf8 olarak kaydedin