Dear all I'm developing a system with multi-languages using Tapestry 4.0. Checked with official web, default http request would be UTF-8 but I found some problem when Simplified Chinese input. All the data changed into ???. Below are my coding and configuration.
application file: meta key="org.apache.tapestry.messages-encoding" value="UTF-8"/> meta key="org.apache.tapestry.messages-encoding_zh_TW" value="Big5"/> meta key="org.apache.tapestry.messages-encoding_zh_CN" value="UTF-8"/> meta key="org.apache.tapestry.output-encoding" value="UTF-8"/> meta key="org.apache.tapestry.template-encoding" value="UTF-8"/> meta key="org.apache.tapestry.page-class-packages" value="com.hket.etbcsurvey.page"/> page file: component id="_validField_chnName" type="TextField"> binding name="value" value="chnName"/> /component> java file: chnName = new String(getChnName().getBytes("ISO-8859-1"),"UTF-8"); Any help would be appreciate, thanks. regards wayne ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]