Jungshik Shin wrote:


Attached is a patch for bug 974883 (handling query strings outside Latin-1/ISO-8859-1 repertoire). Somehow I can't attach it at the sourceforge bug tracking system.
It should work, but somehow it still doesn't work.

With directives at the beginning of JSP files (e.g. search.jsp) shown below,


<%@ page
 contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"
..... %>,

everything should be fine. Unfortunately, something very strange is going on and it only works
when I connect to my test site with Safari on Mac OS X or Konqueror on Linux. In other cases (Mozilla on Mac OS X and Linux, MS IE on Windows, wget on Mac OS X and Linux), for an unknown reason, Apache tomcat container ignores 'contentType'
directive I specified in my patch and emits 'Content-Type: text/html; charset=ISO-8859-1'. This is
really bizzare.


From the W3C International mailing list, I got to know a part of the picture (using JSTL - nutch web front-end uses apache i18n) can override 'contentType' page directive. So can 'custom filters'.
I'll try to come up with a work-around/solution.


Jungshik




------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to