typo bug

The blogging engine that I am using is called Typo. One of the nice features is the "live search", in which it starts to search as you are typing (yes... it is AJAX).

But there is a stupid bug that stopped it from working with non-latin characters. I spotted it about 2 years ago but yet the bug is still here... orz... so here it is again: To fix it, simply change the Javascript from
escape($F('q'))
to
encodeURIComponent($F('q'))

This entry was posted on Wed, 19 Sep 2007 16:56:00 GMT and Posted in . You can follow any any response to this entry through the Atom feed. You can leave a comments, .


Comments

Leave a response

Leave a comment