cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <>
Subject RE: XSLT and international characters in parameters
Date Tue, 02 Apr 2002 18:58:48 GMT
> From: Tomasz Bech []
> Hi all,
> 	I found some request about this problem, but no answer.
> 	Problem is: when form is in utf8, parameters are encoded as
utf8. But
> server always wants to treat them as iso-something.
> In XSP remedy is:
> <xsp-request:get-parameter name="searchtext" form-encoding="UTF-8"/>
>                                               ^^^^^^^^^^^^^^^^^^^^^^^


> But problem appears when I try to use parameters in xsl (as <xsl:param
> name='searchtext/>). No idea how to set encoding to proper one?

Try custom action.

> More questions:
> 2. Why server doesn't understand encoding of request parameters?

Sounds like question to your server. Is it tomcat? Try tomcat docs/user

> 3. How to set encoding of request globaly (for all and forever)?

You can change encoding of the JVM if you either change locale of the OS
or provide "-D" parameter on the startup of the JVM (see JDK docs)


> 	Thanks,
> 		Tomasz

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message