Hi, Gregory,
It works, thanks a lot!
Best regards
Jean
> From: [email protected]
> To: [email protected]
> Subject: Re: [magnolia-user] Help for STK search form with multi-bytes
> languages
> Date: Tue, 9 Jun 2009 21:01:17 +0200
>
>
> 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]>
> ----------------------------------------------------------------
>
_________________________________________________________________
打工,挣钱,买房子,快来MClub一起”金屋藏娇”!
http://club.msn.cn/?from=10
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------