I've xsltsearch 3.0.4 and umbraco 4.7.1. Everything work well in Firefox and Chrome, but not in IE (8 and 9).
So, when someone search for the french word "élève" all browsers show results with multiple pages. Good! But if I click next or page 2, on FF and Chrome the url looks like search.aspx?search=%E9l%E8ve&page=2 which "encode" character and it works and search page.
As you say, this works in all browsers but IE and is an IE quirk rather than an XSLTsearch bug per se since it works properly in other browsers. Also, it isn't a widespread problem as XSLTsearch is used on lots of international sites with a host of different characters.
It might be that you are not specifying utf-8 in your html document's head block? Or are using html rather than xhtml as your doctype in the template? I've heard that the encoding of the page makes a difference to IE in ways that other browsers handle automatically.
Any chance you could share a link to the site so we can see the behaviour first hand?
Hi Doug, I agree that is not an xsltsearch problem but an IE one... But I had no idea where to ask help about my problem! My site is in iso-8859-1 instead of utf-8 and the doctype is html (as html5).
So probably the problem comes from iso-8859-1 encoding.
It might be worth changing to utf-8 since iso-8859-1 is only the major ascii characters and utf-8 shares the ascii portion so it should (*should*) be a transparent change and just might get the search working in IE. Worth a temporary test at least.
French characters in url
Hi,
I've xsltsearch 3.0.4 and umbraco 4.7.1. Everything work well in Firefox and Chrome, but not in IE (8 and 9).
So, when someone search for the french word "élève" all browsers show results with multiple pages. Good! But if I click next or page 2, on FF and Chrome the url looks like search.aspx?search=%E9l%E8ve&page=2 which "encode" character and it works and search page.
But, in IE, when I click page 2, I get : search.aspx?search=élève&page=2 and it searches élève in the page so it return no result.
Am I doing something wrong? How can I correct that?
Thank you!
As you say, this works in all browsers but IE and is an IE quirk rather than an XSLTsearch bug per se since it works properly in other browsers. Also, it isn't a widespread problem as XSLTsearch is used on lots of international sites with a host of different characters.
It might be that you are not specifying utf-8 in your html document's head block? Or are using html rather than xhtml as your doctype in the template? I've heard that the encoding of the page makes a difference to IE in ways that other browsers handle automatically.
Any chance you could share a link to the site so we can see the behaviour first hand?
cheers,
doug.
Hi Doug, I agree that is not an xsltsearch problem but an IE one... But I had no idea where to ask help about my problem! My site is in iso-8859-1 instead of utf-8 and the doctype is html (as html5).
So probably the problem comes from iso-8859-1 encoding.
You can try the behaviour there : http://www.alloprof.qc.ca/resultats-de-la-recherche.aspx
Thank a lot for your help!
It might be worth changing to utf-8 since iso-8859-1 is only the major ascii characters and utf-8 shares the ascii portion so it should (*should*) be a transparent change and just might get the search working in IE. Worth a temporary test at least.
Let us know what you find out.
cheers,
doug.
Hi Doug!
I tried with utf-8 and it works. However, some old mailing list program used by my site need iso-8859-1... So I guess I'll need to find a workaround!
Thank you for your help!
is working on a reply...