*ACIL*Türkçe karakter sorunu.

wegazEmre Bugday

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" />

http://www.ncgmt2.org

2013-09-12 10:25:27 Edit:2013-09-12 10:36:24

Php

LordnetH.BRM

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>

2013-09-12 14:03:52

Php

fatihmertFatih Mert Doğancan

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..

2013-09-13 21:34:16

Php

simdi bir dosyayı utf8 bile yapsanız hata  alma ihtimaliniz vardır   notepad uzerinden bomsuz  utf8 olarak kaydedin  

2013-09-13 22:37:12

phpkodlari.com © 2009 Herkes Php öğrenecek
Eglence ve Oyun: Gamikro