You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Inge Solvoll <ta...@ingenett.com> on 2005/09/13 08:48:01 UTC
Encoding problem
When I submit norwegian characters (æ, ø, å) in a form, they are not
encoded correctly. They look something like this when received by the
tapestry page class:
^A, Ô
Right now, my app properties that concerns encoding are not changed from
default values. If you don't know what I'm talking about:
http://jakarta.apache.org/tapestry/3.0.3/doc/TapestryUsersGuide/configuration.character-sets.html
I have tried changing those properties a bit to see what happens, but I
have only managed to make it even worse. Any ideas?
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Encoding problem
Posted by Inge Solvoll <ta...@ingenett.com>.
Hi, thanks, but I actually managed to solve this issue myself now. I put
these to lines in my .application file:
<property name="org.apache.tapestry.template-encoding"
value="ISO-8859-1"/>
<property name="org.apache.tapestry.output-encoding"
value="ISO-8859-1"/>
I guess the first line is the one that makes the difference, encoding
the templates in IS-8859-1 instead of UTF-8.
Inge
Norbert Sándor wrote:
> Maybe you should configure your <connector> in case of Tomcat as well
> (uriencoding & usebodyencodingforuri attributes).
>
> BR,
> Norbi
>
> ----- Original Message ----- From: "Inge Solvoll" <ta...@ingenett.com>
> To: "Tapestry users" <ta...@jakarta.apache.org>
> Sent: Tuesday, September 13, 2005 8:48 AM
> Subject: Encoding problem
>
>
>> When I submit norwegian characters (æ, ø, å) in a form, they are not
>> encoded correctly. They look something like this when received by the
>> tapestry page class:
>>
>> ^A, Ô
>>
>> Right now, my app properties that concerns encoding are not changed
>> from default values. If you don't know what I'm talking about:
>>
>> http://jakarta.apache.org/tapestry/3.0.3/doc/TapestryUsersGuide/configuration.character-sets.html
>>
>>
>>
>> I have tried changing those properties a bit to see what happens, but
>> I have only managed to make it even worse. Any ideas?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
> .
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Encoding problem
Posted by Norbert Sándor <de...@erinors.com>.
Maybe you should configure your <connector> in case of Tomcat as well
(uriencoding & usebodyencodingforuri attributes).
BR,
Norbi
----- Original Message -----
From: "Inge Solvoll" <ta...@ingenett.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Tuesday, September 13, 2005 8:48 AM
Subject: Encoding problem
> When I submit norwegian characters (æ, ø, å) in a form, they are not
> encoded correctly. They look something like this when received by the
> tapestry page class:
>
> ^A, Ô
>
> Right now, my app properties that concerns encoding are not changed from
> default values. If you don't know what I'm talking about:
>
> http://jakarta.apache.org/tapestry/3.0.3/doc/TapestryUsersGuide/configuration.character-sets.html
>
>
> I have tried changing those properties a bit to see what happens, but I
> have only managed to make it even worse. Any ideas?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org