Hi,
See the URIEncoding parameter at:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html
Setting it to utf-8 will hopefully solve your issue. Please let me
know if this helped !
We're thinking about solving that at Magnolia level, but against all
odds, this is not so trivial.
-g
On Jun 9, 2009, at 5:58 PM, YeJean wrote:
Hi, everybody,
I find that the search form of STK doesn't work for multi-bytes
languages such as Chinese. When I key in the search string in
Chinese, the search result page shows that the sever doesn't get the
string correctlly, it appears as something I can't read. I search in
the mailing list and get the message that the reason is that the
server can't get the string with the correct encoding. I read the
page html source and get the message that it's in utf-8 at the
browser side ,then I change the default encoding of Tomcat to utf-8
by adding a -Dfile.encoding=utf-8 parameter to the start command
magnolia_control.bat, but it still doesn't work. Any body please
give me a hand? Thanks in advance.
BTW: I'v download the analyzer of lucene for Chinese and modified
the repostory's config file(jackrabbit-bundle-derby-search.xml) to
use Chinese analyzer.
......
<!-- <param name="analyzer"
value="org.apache.lucene.analysis.standard.StandardAnalyzer" /> -->
<param name="analyzer"
value="org.apache.lucene.analysis.cn.SmartChineseAnalyzer" />
......
立刻下载 MSN 保护盾,保障Messenger 安全稳定! 现在就下载!
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------