You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Enzo Michelangeli <en...@gmail.com> on 2007/05/03 11:19:23 UTC

Getting Nutch running with UTF-8

At http://wiki.apache.org/nutch/GettingNutchRunningWithUtf8 it is suggested, 
in order to handle UTF-8 characters in GET parameters, to change the 
configuration of the application server. Why can't the webapp just switch 
the "request" object to UTF-8 encoding, e.g. by placing in the <head> 
section of the query form page:

<jsp:scriptlet> request.setCharacterEncoding("UTF-8"); </jsp:scriptlet>

I'm doing this with a Lucene-based custom web application running on Tomcat 
5.5, and it appears to work fine.

Enzo