Hi,
Our website has a internal search page that searches all pages in the
site and returns a list of pages containing the words used to search on.
The search is done entirely in vbscript using regular expressions.
However, on the french side of our website...it doesn't recognize any
french characters and nothing gets returned.

I know it has something to do with the charset and codepage but I'm not
exactly sure what it is. I've tried a few different things but nothing
worked.
One of the meta tags is:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>

Is this right? Do I need to add anything in vbscript as well?

Thanks

Rob


*** Sent via Developersdex http://www.developersdex.com ***

Re: Search does not recongnize french characters by Rob

Rob
Wed Jul 25 13:38:15 CDT 2007


Found it. In case anyone is wondering...this is what I did.
I put this at the top of my page:

<%@ CodePage=65001 Language="vbscript"%>
<% Option Explicit %>
<%
Response.CodePage = 65001
Response.CharSet = "utf-8"
%>

Also changed the charset in the meta tag to UTF-8.

Rob

*** Sent via Developersdex http://www.developersdex.com ***