I think the old URL spec (I forget the RFC number ) didn't specify any
character set.
Apparently the new one (RFC 3986) does.  But there has been a bug in Resin which
has since been fixed. See <http://bugs.caucho.com/view.php?id=1596>.  Make sure
you run version 3.1.2 or later.

-Knut



On Tue, Jan 6, 2009 at 11:03 AM, Tanya Huang <thu...@boats.com> wrote:
> Hello All,
>
> I combed the mailing list archive and read the Caucho documentation but
> still no answer for this issue, so here it is:
>
> I need to match a url pattern to forward to resin. The interesting part
> is the pattern contains foreign characters.
>
> I used the UTF-8 url encoded pattern, but the pattern did not get
> matched. Here's an example:
>
>  <servlet-mapping url-pattern='/%D0%A1%D1%83%D0%B4%D0%B0/*'
> servlet-name='search'/>
>
> I've also tried it without url encoding (Russian in this case):
>
>  <servlet-mapping url-pattern='/Суда/*' servlet-name='search'/>
>
> Everything I read says Caucho supports UTF-8 by default. Any suggestion
> on what else to try will be greatly appreciated.
>
> thanks,
> Tanya
>
>
>
> _______________________________________________
> 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