Hi Shawn,
Thank you for the explanation.
Regards,
Edwin
On 19 October 2015 at 15:58, Shawn Heisey wrote:
> On 10/19/2015 12:18 AM, Zheng Lin Edwin Yeo wrote:
> > I found that it works if I put the code in this way without the
> URLEncoder
> >
> > req.setParam("literal.title", filename);
> >
>
On 10/19/2015 12:18 AM, Zheng Lin Edwin Yeo wrote:
> I found that it works if I put the code in this way without the URLEncoder
>
> req.setParam("literal.title", filename);
>
> Is the URLEncoder doing the encoding from the chinese characters to the
> string
> of code like this "%E7%AB%8B%E9".?
I found that it works if I put the code in this way without the URLEncoder
req.setParam("literal.title", filename);
Is the URLEncoder doing the encoding from the chinese characters to the string
of code like this "%E7%AB%8B%E9".?
Regards,
Edwin
On 19 October 2015 at 11:29, Zheng Lin Edwin Yeo
Hi,
I'm using the URLEncoder withg "UTF-8" encoding in SolrJ (code is written
in Eclipse) to index the file name to Solr. The code looks like this.
req.setParam("literal.title", URLEncoder.encode(filename, "UTF-8"));
However, what is index in Solr is a string of code like this
"%E7%AB%8B%E9". Wh