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
Hilary
"jazzdrums" <jazz...@free.fr> wrote in message
news:1129665348....@g47g2000cwa.googlegroups.com...
<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
Thank you