Freelancer

tapestry 4, textfield input chinese  

tapestry 4, textfield input chinese is project number 303793
posted at Freelancer.com. Click here to post your own project.


| More Free Trial For New Buyers
 

Status: Cancelled

Selected Providers: -

Budget: $30-250

Created: 08/21/2008 at 13:17 EDT

Bid Count: 1

Average Bid:
$ 250

08/22/2008 at 13:17 EDT

Project Creator: cometta
Employer Rating: (No Feedback Yet)

Bid On This Project
 

Description

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.

Job Type

Messages Posted:3 View project clarification board Post message on project clarification board

Bid On This Project
 

If you are the project creator or one of the bidders Log In for more options

 

250

2 days

08-21-2008 15:23 EDT

(No Feedback Yet)

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

help


    Bid on this Project