Cancelled

tapestry 4, textfield input chinese

anyone can help me solve this problem, and i will pay usd10 for consultation

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.

Skills: J2EE, Java, JSP

See more: tapestry utf, textfield tapestry, tapestry textfield input output, textfield chinese, tapestry textfield, tapestry utf8, java textfield value utf, web page developing languages, the string problem, string problem, m string, input textfield tapestry, value chinese tapestry, chinese textfield, chinese tapestry value, tapestry messages, input typefile tapestry, tapestry input component encoding, tapsesty utf, tapestry input characters, tapestry utf input encoding, tapestry encoding input field, tapestry encoding utf, tapestry user chinese input, tapestry post utf

About the Employer:
( 0 reviews ) kl, Malaysia

Project ID: #303793

1 freelancer is bidding on average $250 for this job

liuming

I have previous experience on this problem, let me help you

$250 USD in 2 days
(0 Reviews)
0.0