Thanks,

Where does   <character-encoding>utf-8</character-encoding> go? In
resin.conf? If so, what's the nesting? I.e. inside what tags is it nested.

Thank you,

R.S.

On Thu, Sep 24, 2009 at 12:03 PM, Scott Ferguson <f...@caucho.com> wrote:

>
> On Sep 24, 2009, at 7:59 AM, Rom Sok wrote:
>
> Sorry, let's try this again:
>
> I am running into a problem where certain UTF-8 characters go into the
> application and come out as nonsense.
> The JSP's are using UTF-8 encoding, and so does the database.
>
> Accoridng to my research one of the things I have to do on the application
> side to make sure character encoding is always consistent is set the
> character encoding in the server configuration for URL-decoding GET request
> parameters.
> The equivalent in Tomcat configuration is
>
> *<Connector (...) URIEncoding="UTF-8" />*
>
> Resin should default to utf-8.  The configuration is
>
> <resin ...>
>   <cluster id="">
>     <url-character-encoding>utf-8</url-character-encoding>
>   </cluster>
>   ..
> </resin>
>
> There's also a
>
>   <character-encoding>utf-8</character-encoding>
>
> which affects all default character encodings in Resin, including POST
> parsing.
>
> JSP can be a bit tricky, though, because the JSP default is ISO-8859-1
> (unfortunate, but it's part of the JSP spec.)  The <character-encoding>
> should override the JSP default.
>
> -- Scott
>
>
>
> Is there an equivalent in Resin?
>
> Thanks.
>
>
> On Thu, Sep 24, 2009 at 10:01 AM, Michael Ludwig <m...@as-guides.com>wrote:
>
>> Rom Sok schrieb:
>> >>> Is there a way to force URI CHARACTER encoding to UTF-8?
>> >>>
>> > No, I mean in the request... on the java side.
>>
>> That's poor and inefficient communication. Consider giving a complete
>> description of what you want to achieve and how it relates to Resin.
>> Reading this might help you in doing so:
>>
>> http://catb.org/~esr/faqs/smart-questions.html<http://catb.org/%7Eesr/faqs/smart-questions.html>
>>
>> --
>> Michael Ludwig
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to