urlencode() / urdecode() komutları ile cookie değerini yazdırmayı
denediniz mi?
Selamlar....
Guychmyrat Amanmyradov yazmış:
Normal yollarla olmuyor.
Since cookies are transfered as HTTP Headers they are confined to the
US-ASCII character set. Other characters will be lost or mangeled.
Cookies are typically set and read by the same server, so a custom
scheme for escaping non-ASCII characters can be used, for instance the
well-established URL encoding scheme. If cookies are used to transfer
data between server and client both parties must agree on the escaping
scheme used in a custom way. The HttpClient cookie implementation
provides no special means to handle non-ASCII characters nor does it
issue warnings.
Hashleyerek yapılabiliyor denildi. denedim ama olmadı. Özellikle rusça
karakterlerde patladı. Boş zamanın tekrar detaylı deniycem. Başarırsam
yazıyı güncellerim.
--- *14/10/09 Çar tarihinde Guychmyrat Amanmyradov
/<guychmy...@yahoo.com.tr>/* şöyle yazıyor:
Kimden: Guychmyrat Amanmyradov <guychmy...@yahoo.com.tr>
Konu: [Linux-programlama] php setcookie türkçe karakter problemi
Kime: linux-programlama@liste.linux.org.tr
Tarihi: 14 Ekim 2009 Çarşamba, 12:04
Merhabalar,
setcookie ile tanımladığım türkçe karakterleri bozuk gösteriyor.
setcookie("deneme", "ğüçöı", time()+3600, '/');
bunu
%C4%9F%C3%BC%C3%A7%C3%B6%C4%B1
olarak gösteriyor.
Dosya tipim utf8. headerde de utf-8 var.
ayrıca
header('Content-Type: text/html; charset=utf-8');
ekledim. fonksiyonu çağırmadan. Ama hala çözemedim.
Teşekkürler.
------------------------------------------------------------------------
Yahoo! Türkiye açıldı!
Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!
www.yahoo.com.tr
-----Satır İçi Eki Var-----
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
</mc/compose?to=linux-programl...@liste.linux.org.tr>
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
------------------------------------------------------------------------
Yahoo! Türkiye açıldı!
Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye'de!
www.yahoo.com.tr
------------------------------------------------------------------------
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
_______________________________________________
Linux-programlama mailing list
Linux-programlama@liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama