473,394 Members | 1,722 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Using MS Index Server to search french Accented characters

Hi everyone,
I'm new to this forum and I hope I'm in the right one. I have a question regarding MS Index server to search for french accent characters.

I have a search engine for our website that uses MS Index Server
and it works great but it doesn't find any results for searches that
contain french accented characters.

If I'm searching for "élément"...it doesn't find anything because the
page uses html codes for accents and this word would be written like
"(& e a c u t e ;)l(& e a c u t e ;)ment" (without the brackets and spaces) in my source code.
My page uses charset utf-8 but the Index server uses 2 separate files
(.htx and .idq files) and there doesn't seem to be any settings in there
for this problem.

Is there any way around this?

Thanks
Aug 22 '07 #1
1 1217
jhardman
3,406 Expert 2GB
yes, unfortunately the best way around this is to take the search phrases and immediately put them through replace statements before you search, like this:
Expand|Select|Wrap|Line Numbers
  1. dim strToFind
  2. strToFind = request.form("search")
  3. strToFind = replace(strToFind, "é", "é")
  4. 'etc
  5. 'then execute the search function on the altered strToFind
I know it's not very straight-forward, but you could easily put all the replaces in a single function so you could use it very easily. Let me know if this helps.

Jared
Aug 23 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Si Pearson | last post by:
Hi, I've got an aspx page with a 'mailto' with accented characters in the subject field, when the mail is created the accented characters aren't displayed correctly. The mailto looks like...
4
by: Satish | last post by:
Hi Gurus, Please help me in this, I have tried all options available to me. (Option 1) I am making a simple request from VB.NET client to WBI generated WSDL and passing request parameters. The...
13
by: jd | last post by:
I have just spent the past week reading up on locales in books by Josuttis and Stroustrup. As a simple test of locales, I prepared the following source code below. The purpose is to convert the...
3
by: Harry Haller | last post by:
What is the fastest way to search a client-side database? I have about 60-65 kb of data downloaded to the client which is present in 3 dynamically created list boxes. The boxes are filled from 3...
0
by: mkouts | last post by:
Hi, I encountered some unexpected behavior in ASP.NET application running on framework v1.1 and I’m trying to understand if it’s some sort of a configuration issue or a known ASP.NET...
1
by: jgershonw1 | last post by:
I have a file that is UTF-8 encoded which contains french words. The french characters are represented as two characters. Take for example an accented e, which is A with a tilda ontop and the...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
1
by: Rob | last post by:
HI, I have a custom search engine for our website that uses MS Index Server and it works great but it doesn't find any results for searches that contain french accented characters. If I'm...
0
by: shintu | last post by:
Hallo, I am trying to write french accented characters é è ê in Excel worksheet using my perl script , But I am stuck here as I couldnt find a way of writing it !: My code: use strict;...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.