You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Kintzel Levente <ki...@codespring.ro> on 2005/09/14 14:19:27 UTC
utf forms
Hi!
I want to make my UTF8 form working. But when I want to complete the form
fields with some existing data I obtain some interesting characters (for
every special characters two different characters). If I write this
characters in a file the content of the file is correct. (if I request utf
view of the file)
I use turbine 2.2b3 with Tomcat5.
In my tr.properties I have:
locale.default.charset=utf-8
and in my layout I have:
$page.setHttpEquiv("Content-Type","text/html; charset=utf-8"
What else should I set. Thank you!
Regards,
Levi
Re: utf forms
Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Kintzel Levente" <ki...@codespring.ro> writes:
Up and including 2.3.1, the char set of requests has been hard coded
to ISO-8859-1. If you want to use UTF forms, you should/must upgrade
to at least 2.3.2-rc1 (which is the current RC) which has a property
to control the input character set.
Please see http://svn.apache.org/viewcvs.cgi/jakarta/turbine/core/branches/TURBINE_2_3_BRANCH/src/java/org/apache/turbine/Turbine.java?rev=222033&view=markup for some comments about this. ;-)
Best regards
Henning
>------=_NextPart_000_0000_01C5B93F.B474D140
>Content-Type: text/plain;
> charset="us-ascii"
>Content-Transfer-Encoding: 7bit
>Hi!
>
>I want to make my UTF8 form working. But when I want to complete the form
>fields with some existing data I obtain some interesting characters (for
>every special characters two different characters). If I write this
>characters in a file the content of the file is correct. (if I request utf
>view of the file)
>
>I use turbine 2.2b3 with Tomcat5.
>
>In my tr.properties I have:
>
>locale.default.charset=utf-8
>
>and in my layout I have:
>
>$page.setHttpEquiv("Content-Type","text/html; charset=utf-8"
>
>What else should I set. Thank you!
>
>
>
>Regards,
> Levi
>
>------=_NextPart_000_0000_01C5B93F.B474D140--
--
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH
hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/
RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire
Linux, Java, perl, Solaris -- Consulting, Training, Development
4 - 8 - 15 - 16 - 23 - 42
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org