You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Yonik Seeley <yo...@apache.org> on 2007/03/27 05:12:32 UTC

parseQueryString Q in SolrRequestParsers

parseQueryString uses URLDecoder.decode()

With the JavaDoc:
     * The platform's default encoding is used to determine what characters
     * are represented by any consecutive sequences of the form
     * "<code>%<i>xy</i></code>".

That won't correctly handle percent encoded UTF8 URLs, right?

-Yonik

Re: parseQueryString Q in SolrRequestParsers

Posted by Mike Klaas <mi...@gmail.com>.
On 3/26/07, Yonik Seeley <yo...@apache.org> wrote:
> parseQueryString uses URLDecoder.decode()
>
> With the JavaDoc:
>      * The platform's default encoding is used to determine what characters
>      * are represented by any consecutive sequences of the form
>      * "<code>%<i>xy</i></code>".
>
> That won't correctly handle percent encoded UTF8 URLs, right?

Assuming the default encoding itsn't UTF-8 and the javadoc is correct, nope.

-Mike