All pages on this Czech language site are encoded in utf-8. search.asp is #included in a custom search page called zoomsearch.asp, however the problem is the same with the default HTML template.
I set language encoding in Zoom Indexer configuration to utf-8 and also saved search_template.html and zoomsearch.asp in utf-8. All multi-byte characters are displayed incorrectly in search results. Adding a preprocessing directive <%@ CODEPAGE=65001%> to the top of my ASP page does not help.
When I save search_template.html and zoomsearch.asp back in ANSI encoding and specify <%@ CODEPAGE=1252%> as suggested on your international language support page, page titles in search results suddenly display correctly but context descriptions do not. Incorrectly displayed is also the word in the search box and in "Search results for:" line.
Nothing displays correctly without the preprocessing directive.
If I change the preprocessing directive to <%@ CODEPAGE=1250%>, everything displays correctly except page titles.
I should add that I left "charset=utf-8" in the META tag of zoomsearch.asp despite it being saved in ANSI encoding. If I change this to "charset=windows-1250" all text is again displayed incorrectly.
It seems that context descriptions are copied directly from the utf-8 coded pages while page titles are displayed from ANSI coded zoom_pagedata.zdat. I don't understand why the <%@ CODEPAGE=1250%> directive displays utf-8 correctly but it does.
An image of the search result page is attached.
What am I missing?
Jan
I set language encoding in Zoom Indexer configuration to utf-8 and also saved search_template.html and zoomsearch.asp in utf-8. All multi-byte characters are displayed incorrectly in search results. Adding a preprocessing directive <%@ CODEPAGE=65001%> to the top of my ASP page does not help.
When I save search_template.html and zoomsearch.asp back in ANSI encoding and specify <%@ CODEPAGE=1252%> as suggested on your international language support page, page titles in search results suddenly display correctly but context descriptions do not. Incorrectly displayed is also the word in the search box and in "Search results for:" line.
Nothing displays correctly without the preprocessing directive.
If I change the preprocessing directive to <%@ CODEPAGE=1250%>, everything displays correctly except page titles.
I should add that I left "charset=utf-8" in the META tag of zoomsearch.asp despite it being saved in ANSI encoding. If I change this to "charset=windows-1250" all text is again displayed incorrectly.
It seems that context descriptions are copied directly from the utf-8 coded pages while page titles are displayed from ANSI coded zoom_pagedata.zdat. I don't understand why the <%@ CODEPAGE=1250%> directive displays utf-8 correctly but it does.
An image of the search result page is attached.
What am I missing?
Jan
Comment