View Full Version : Highlight in cyrillic windows-1251 does not work
Hi everybody,
I tried both UTF-8 and cyrillic windows-1251 (which I actually use) but no succes, whether the search page is UTF-8 or windows 1251. The browser is the newest firefox (the same prbl with IE6). I use the javascript search.
All worked fine with the german text and windows 1252
wrensoft
02-23-2009, 07:00 PM
Are you refering to highlighting in the search results or highlighting in the source HTML document?
If you are refering to the source HTML document, are you using the new V6 highlight.js script?
What was the search word which should have been highlighted?
What is the URL to your search function? If it is online.
When windows-1251 used the highlighting of source html will not work. Results (titles) are highlighted .
UTF-8 (cyrrilic) works fine. Just dont use the * mask. (use the option languages/ substring match...).
All this was about the Javascript platform in ZSE. Do not know now how it is with PHP, ASP,...
Further information:
Danx has e-mailed us with more information and he is actually talking about the "jump to highlighting" script (highlight.js) specifically.
There are known issues with the Jump to Highlighting script in certain charsets (such as windows-1251). There are limitations in the Javascript platform which we have yet been able to workaround with a reasonable/practical solution. It is most compatible with UTF-8 for non-English languages. This is detailed under "Known Limitations (http://www.wrensoft.com/zoom/support/faq_highlight.html#limits)" for the Jump to Highlighting script.
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.