From: Murat Ege (mege@etigrup.com.tr)
Date: Mon 07 Jun 2004 - 08:46:11 EEST
Merhaba,
Jsp sayfalarinin ba=FE=FDna (sayfa direktiflerinden sonra) =20
<%request.setCharacterEncoding("Cp1254");%>
Satirini ekleyip bir daha deneyebilir misiniz?
=DDyi calismalar.
-----Original Message-----
From: Onur Kucuk [mailto:onur@kablonet.com.tr]=20
Sent: Friday, June 04, 2004 7:24 PM
To: linux-ileri@liste.linux.org.tr
Subject: [linux-ileri] contineo (java) ve tr karakterler
Merhaba,
Contineo isimli (http://contineo.sf.net) java tabanli bir belge yonetim =
sistemini calistirmaya calisiyorum. Her sey calisiyor gibi gorunuyor ama =
turkceye ozel karakterler sorun cikariyor.
Kurulum paketi icinde gelen contineo.war dosyasini tomcat-4 e deploy =
ediyorum (tomcat-5 pek orali olmuyor). Mysql de bir tablo ve kullanici =
olusturuyorum ve contineo nun setup sistemini calistirip gerekli =
ayarlari yapiyorum, kullanicimi aciyorum vs. her sey tamam gibi =
gorunuyor.
Gerek dosya islemleri, gerek menu olusturma (sanirim sadece mysql e =
bilgi yaziyor) sirasinda tr karakterler yerini "#310;" gibi yazilara =
birakiyor.
Contineo paketindeki jsp dosyalarinin taglarini degistirip
=20
<%@page contentType=3D"text\/html"
olan kisimlari
<%@page contentType=3D"text\/html; charset=3DISO-8859-9"
yapinca biraz daha sekli degisiyor ve "?" ne donusuyor.
CATALINA_OPTS=3D"-Dfile.encoding=3DISO-8859-9" vermem de birseyi =
degistirmedi. Gordugum kadariyla mysql e yazilan veri de "?" olarak =
yaziliyor. Normal karakterlerde sorun yok, sadece tr ye ozel =
karakterlerde sorun var.
ISO yerine UTF-8 vermeyi de denedim ama tarayici UTF-8 gosterdigini =
soylese bile karakterleri dogru gostermiyor (tabi bu sefer ? yerine =
tanidik garip karakterler gorunuyor).
Biryerlerde tomcat in (ya da jdbc ?) bu isi dogru yapmasi icin bir ayar =
olsa gerek, ve fakat nerededir, nedir ?
--=20
Onur Kucuk Knowledge speaks, =20
<onur.--.-.kablonet.com.tr> but wisdom listens =20
________________________________________________________________________
Bu mesaj ve mesaja eklenmis olan dosyalar kisiye ozeldir. Eger bu mesaj =
bir hata sonucu size ulasmis ise mesaji hemen siliniz ve gonderen kisiye =
olusan yanlisligi bildiriniz. Mesajin gonderildigi kisi siz degilseniz, =
mesaji ya da eklerini kopyalayamaz, baskasina gonderemez ve =
aciklayamazsiniz. Eti Sirketler Grubu mesaj iceriginin bozulmasi, =
mesajin gec ulasmasi veya mesajin virus tasimasi gibi sorunlardan =
sorumlu tutulamaz. Bu mesajdaki ifadelerin tumu mesaji gonderen kisiye =
aittir. Eti Sirketler Grubu mesajin gonderiminden, iceriginden veya =
icerigine guvenilerek yapilacak islemlerden dolayi sorumlu tutulamaz.
This e-mail is strictly confidential and intended solely for the =
addressee. It may contain information, which is covered by legal, =
professional, or other privilege. If you are not the intended addressee =
you must not use, disclose or copy this transmission. This e-mail is =
not intended to impose nor shall it be construed as imposing any legally =
binding obligation upon Eti Group of Companies and/or any of its =
subsidiaries or associated companies. Neither ETi Group of Companies nor =
any of its subsidiaries or associated companies gives any representation =
or warranty as to the accuracy or completeness of the contents of this =
e-mail. Eti Group of Companies shall not be held liable to any person =
resulting from the use of any information contained in this e-mail and =
shall not be liable to any person who acts or omits to do anything in =
reliance upon it.
________________________________________________________________________
.