Re: Help ! No results when including <meta name="MS.LOCALE" content="zh-cn"> in chinese pages



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
> >

.



Relevant Pages

  • Re: Typing Chinese
    ... It's a normal string (dim query as string) which holds the insert ... When the user types Chinese in the textbox, ... > store the Chinese characters (encoded as Unicode). ...
    (microsoft.public.sqlserver.programming)
  • Re: Indexing user controls with non-english content
    ... I am using chinese as searching keyword, but it throws an exception "The ... query contained only ignored words". ... > Looking for a FAQ on Indexing Services/SQL FTS ...
    (microsoft.public.inetserver.indexserver)
  • Re: Strange Characters in Memo Field in Report
    ... Chances are that you're using a query that either uses the memo field as a ... strange characters. ... Tell us more details about the query and its fields. ... > that didn't help...and these look more like ASCII characters, not Chinese ...
    (microsoft.public.access.reports)
  • Re: chinese full-text search
    ... Did you set your session code page for Chinese simplified or Traditional? ... Looking for a SQL Server replication book? ... > What is happening is when I run the below query in query analyzer, ...
    (microsoft.public.sqlserver.fulltext)
  • Help ! No results when including in chinese pages
    ... I'm running windows 2003 server in french and I need to index and query ... chinese pages on a chinese version of my website. ... chinese HTML files, a chinese query in my code doesn't return anything. ...
    (microsoft.public.inetserver.indexserver)

Loading