Re: Help ! No results when including <meta name="MS.LOCALE" content="zh-cn"> in chinese pages
- From: "jazzdrums" <jazzdrums@xxxxxxx>
- Date: 19 Oct 2005 08:25:30 -0700
Thank you so much for answering me hilary. Yes the culture is set in
the web.config like that :
<globalization fileEncoding="gb2312" requestEncoding="gb2312"
responseEncoding="gb2312" culture="zh-CN" uiCulture="zh-CN"/>
Do you have any other idea to investigate ? I really don't understand.
Just one more detail but I think it has nothing to do with the problem.
Since we're running a french Windows server and that our initial
websites are in english, I change this registry key in order to use by
default the english word breaker for french:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ContentIndex\Language\French_French\Noisefile
noise.enu
But for chinese, default settings have been kept.
Thanks again for your help
Vincent
Hilary Cotter wrote:
> is this .Net? You have to set the culture in your web.config file for
> Chinese.
>
> Hilary
> "jazzdrums" <jazzdrums@xxxxxxx> wrote in message
> news:1129665348.302643.26990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> > Hi,
> >
> > I'm running windows 2003 server in french and I need to index and query
> > chinese pages on a chinese version of my website. I have this really
> > strange behaviour :
> >
> > When I have the tag <meta NAME="MS.LOCALE" CONTENT="ZH-CN"> in my
> > chinese HTML files, a chinese query in my code doesn't return anything.
> > But the english words in the chinese text are found. When I REMOVE this
> > tag in the file, it works !
> >
> > My chinese HTML files are encoded in GB2312 and contain the tag <meta
> > HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">.
> >
> > I do the query with the parameters
> > objQuery.CodePage=950;
> > objQuery.LocaleID=1028;
> >
> > I would like to understand this because I think that maybe when
> > removing the tag, index server doesn't process the file as a chinese
> > one and just recognize the query as a sequence of special characters
> > and not real chinese words.
> >
> > What do you think of that ?
> > Thank you in advance if you can help
> >
.
- Follow-Ups:
- References:
- Prev by Date: Re: Encrypted file searching with indexing service
- Next by Date: Re: Help ! No results when including <meta name="MS.LOCALE" content="zh-cn"> in chinese pages
- Previous by thread: Re: Help ! No results when including <meta name="MS.LOCALE" content="zh-cn"> in chinese pages
- Next by thread: Re: Help ! No results when including <meta name="MS.LOCALE" content="zh-cn"> in chinese pages
- Index(es):
Relevant Pages
|
Loading