Hello Marcin,

On Tue, Dec 04, 2001 at 12:33:00PM +0100, Marcin Kłos wrote:
> Hi!
> 
> For serveral days I'm trying to solve the following problem. I'm sure that 
> somebody has already faced it, but I could not find any answer on the net.
> 
> I use Cocoon 2 for XSLT transformations (Tomcat 4.0.1 glued to Apache using 
> mod_webapp). These are very simple transformations producing HTML output. I 
> pass some parameters in the QUERY STRING to the XSL. Those parameters contain 
> international (polish) characters, somewhere during the transformation those 
> charcters are converted into some rubbish. For example polish character 
> %C5%82 is transformed into Å‚ i.e., each byte of the two-byte 
> value is treated separetely. 
> 
> How to overcome this problem? 

Use desired encoding for html serialization (in your case it is iso8859-2
or utf-8).
All files containing national characters, should be encoded in UTF-8.

IE supports UTF-8, as well as Mazilla does.
You can look my http://office.ferienwelt.com.pl:8080/cocoon/xml_tests/
i have used there national characters.


Best wishes,
        Hubert.


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to