We expect URI encoding to be UTF-8 uniformly. You shouldn't need to do
any hacks to convert character sets. You should check the URIEncoding
attribute in your server's Connector configuration (assuming Tomcat) and
look at our installation guide. If you are still seeing problems,
please file issues on our issue tracker with specific examples that
fail. I'll try to look into them, and may need to work with you to
diagnose them.
BigLiu wrote:
Just to report that Chinese search works for me now.
I change to use ChineseAnalyzer.
Then some places need convert ISO-8859-1 encoding found in url back to UTF-8
in the Java code and JSP pages.
public static String convertISO88591ToUTF8(String str) {
try{
return new String(str.getBytes("ISO-8859-1"), "utf8" );
}
catch (Exception e) {
return str;
}
}
--
View this message in context:
http://www.nabble.com/register-and-search-in-Chinese-t1159215c12275.html#a3129092
Sent from the Roller - User forum at Nabble.com.