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



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: Help ! No results when including in chinese pages
    ... default the english word breaker for french: ... But for chinese, ... You have to set the culture in your web.config file for ... a chinese query in my code doesn't return anything. ...
    (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)

Loading