You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Danijela Dobrkovic <ga...@yahoo.com> on 2001/02/26 21:40:48 UTC
encoding in cocoon
I'm using cocoon 1.8 and to encode korean characters
I'm doing following:
in cocoon.properties:
processor.xsp.encoding = UTF-8
formatter.text/html.encoding = UTF-8
( I tried only with a first line but did not work)
in my xml (XSP) files :
<?xml version="1.0" encoding="UTF-8"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet href="Stylesheet.xsl"
type="text/xsl"?
>
Problem:
if i hard code unicode of korean characters in xsl
file e.g.
<input name="name" type="text"
value="산업별">
then i can see korean characters in my html page.
When I submit form then
what I'm getting in my servlet is:
name=?�?��??�?�?�
if I use JSP instead then same unicode is passed to my
servlet. What I am doing wrong
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/