As I wrote before, your problem is most likely in your .properies encoding.
Please re-read my previous email.
Also carefully read the HowTo. T5.0.5 uses UTF-8 by default now, except for
form submissions. If you are handling forms you still need to add the
buildUtf8Filter() method, and also add the servelet jar since it accesses
the HTTPServletRequest. Add this to your pom:
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.4</version>
<scope>provided</scope>
</dependency>
Anyway, your original problem will remain, I suspect.
Cheers,
Nick.
Angelo Chen wrote:
Hi Francois,
I tried to modify the code, but
requestGlobals.getHTTPServletRequest().setCharacterEncoding("UTF-8");
configuration.add("Utf8Filter", utf8Filter); // handle UTF-8
setCharacterEncoding and utf8Filter can not be resolved.
However I can put some Chinese in the template(utf8), all got displayed
correctly.
A.C.
Francois Armand wrote:
Angelo Chen wrote:
Hi,
I'm trying out Chinese localization, I have following:
[...]
Have you tried this http://wiki.apache.org/tapestry/Tapestry5Utf8Encoding
?
--
Francois Armand
Etudes & Développements J2EE
LINAGORA SA - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]