Reggie Chan <reggie <at> tnc.hk> writes:
> I've got a page submitting a form, within that form user input
> chinese in the one of the field and at the next page, the field is
> outputed as ???. I've checked to log the string in page object, and it
> shows the correct string. I've also set
>
> <meta key="org.apache.tapestry.output-encoding" value="UTF-8"/>
> <meta key="org.apache.tapestry.messages-encoding" value="UTF-8"/>
> <meta key="org.apache.tapestry.template-encoding" value="UTF-8"/>
>
> in app.application
Try outputting a hard coded string (in Chinese) using an Insert, like:
Home.html:
<span jwcid="@Insert" value="ognl:string"/>
Home.java:
class Home ... {
public String getString() {
return "Some Chinese";
}
}
See if it works.
--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]