You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Priya Padate <pr...@eximsoft.com> on 2001/12/30 08:00:35 UTC
encoding Shift_JIS problem in cocoon 2.0
am using tomcat 3.2.3 and cocoon 2.0 ,i want to display a simple xsp page with japanese characters encoding ="Shift_JIS"
i have set this
<?xml version="1.0" encoding="Shift_JIS" ?>
but it doesn't seem to work .
The same works fine with tomcat 3.2.3 and cocoon 1.8.x.
i have also set
<map:serializer name="html" mime-type="text/html"
src="org.apache.cocoon.serialization.HTMLSerializer">
<encoding>Shift_JIS</encoding>
</map:serializer>
What i get is only ?????? in place of characters.
Look's like am missing something.
Can anyone shed some light on this problem.
Thanks
Priya
Re: encoding Shift_JIS problem in cocoon 2.0
Posted by Bernhard Huber <be...@a1.net>.
Hi,
Can you sort out when the conversion to ??? chars happens?
Knowing this helps to understand who is guilty, the xsp-generator, the
transformer, or the serializer
1) Try to remove the xsp step delivering the xml as-is via cocoon
2) Do you use a transformer step?
bye bernhard
Priya Padate wrote:
> am using tomcat 3.2.3 and cocoon 2.0 ,i want to display a simple xsp
> page with japanese characters encoding ="Shift_JIS"
>
>
>
> i have set this
>
> <?xml version="1.0" encoding="Shift_JIS" ?>
> but it doesn't seem to work .
>
> The same works fine with tomcat 3.2.3 and cocoon 1.8.x.
>
>
>
> i have also set
>
> <map:serializer name="html" mime-type="text/html"
> src="org.apache.cocoon.serialization.HTMLSerializer">
> <encoding>Shift_JIS</encoding>
> </map:serializer>
>
>
>
>
>
> What i get is only ?????? in place of characters.
>
>
>
> Look's like am missing something.
>
> Can anyone shed some light on this problem.
>
>
>
> Thanks
>
>
>
> Priya
>
>
>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>