Hello, i've read some of the past discussions and tried to apply the 
solutions described there without success so i'm here.

Tapestry 4.0
Tomcat 5.5.9
JVM 1.5.0_06

Tomcat starts with:
-Dfile.encoding=UTF-8

in my .application file i have:
<meta key="org.apache.tapestry.messages-encoding" value="UTF-8"/>
<meta key="org.apache.tapestry.output-encoding" value="UTF-8"/>
<meta key="org.apache.tapestry.template-encoding" value="UTF-8"/>

I do not use .properties files.

I have a form with an input field:
<input jwcid="[EMAIL PROTECTED]" value="ognl:glueSyringe.name"/>

i put in the field the string:
"the name è ì"

i submit the form and what i get when tapestry calls the object setter is:
"the name è ì"

so it seems that the UTF-8 encoded stream coming from the browser is 
treated as an ISO8859-1 or something.

In the page i'm using the @Shell component and it generates the meta:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
that is correctly recognized by the browser.

Hard coded "èèè" in the page are correctly displayed.

Thanks for any help.
ciao


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to