<%@ page contentType="text/html; charset=windows-1250" %> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html locale="true"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/> <title><bean:message key="App.title"/></title> </head> Do you have charset encoding defined for JSP (for encoding content): <%@ page contentType="text/html; charset=windows-1250" %> as well in META tag to instruct browser how to present the content: <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/> SB "Eyup TEKIN" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > hi > there is a webapp including oracledatabase(datas are hold with turkish > character) ejbs on borlandapplicationserver ,tomcat,struts and jsps. > i can write turkish character in jsp page side.but dynaaction form creates a > selection list.and that list cant show turkish character.in tomcat's > catalina.sh file there is a "-Dfile encoding=1254" parameter.and i wrote in > the struts part below convertion > > " > byte[] s0_byte = satirArray[0].getBytes("Cp1254"); > satirArray [1]= new String(s1_byte, "Cp1252"); > " > i solved problem but how can i solve this problem in another way? maybe > general solution will be beter. > > sincerely --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]