Jump to content

Php İlginç Türkçe Karakter Sorunu


Recommended Posts

Yazdıgım bi scriptte türkçe karakter sorunu var. Latin 5 de seçtim utf 8 de yine aynı . Sorun mysql gelen bilgidede sayfada sabit bir yazıdada aynı sorun oldugu. Head ' a <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> yazdım ama sorun aynı. İlginç tarafı türkçe karakter tanımadıgında ? gibi karakterler verir ama bende Ýletiþim Bilgileri (İletişim Bilgiler ) gibi karakterler veriyor.

Sayfa : http://testcontrol.tk/ Edited by isml93
Link to comment
Share on other sites

Head'e şu kodları ekleyin. Yine olmaz ise siteyi yüklediğiniz host Türkçe karakterleri desteklemiyor olabilir. Başka bir hostta deneyiniz.
[code]<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>[/code]

Link to comment
Share on other sites

Değişen bişey yok arkadaşlar . Notepad++ denedim hepsini olmadı. Host içinde localde de aynı , 3 host da denedim onlardada.Sayfada bişeyler var.

Sabah yeni siteye geçtim ondada aynı oluyor.Daha php kod yazmadan.Diger site mysql baglantısı oldugu için anlayabilirimde yeni sitede Sadece sayfaları alt ust head die bölüp inc dosyasından çagırıyorum. Tek yaptıgım bu.

Edited by isml93
Link to comment
Share on other sites

[quote name='KintaRo' date='31 July 2012 - 11:01 ' timestamp='1343725277' post='1226182']
Ben o tür sorunlarda sayfayı UTF-8 olarak kaydettiğimde sorun çözülüyor:

[img]http://i.imgur.com/EEqsO.png[/img]
[/quote]

Evet işe yaradı hocam teşekkürler . Çoğu sayfam ansi kodlamasıymıs.

Link to comment
Share on other sites

Çıktı vermeyen sayfalarınız ansi kodlama olabilir (Ör: baglanti.php vs) Fakat ekrana veri bastığınız tüm sayfalar utf-8 olmalıdır. Ayrıca veritabanı ve tabloları oluştururken mutlaka utf-8 kullanın. Çünkü tüm dilleri destekleyen genel bir kodlamadır. Bu adımları kullanırsanız ilerde projenize entegre edeceğiniz modüllerde hiçbir sıkıntı yaşamazsınız.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...