RE: Problem with UTF-8 AJAX search


That’s odd… In which browser are you seeing the problem?

Safari apparently has a problem with UTF-8 in AJAX:

I’ve had the exact opposite problem, where AJAX uses UTF-8 but I need
the search text as ISO-8859-1

(the solution to that problem is presented at:

best regards,


The trick for me seemed to use:

$KCODE = ‘u’
require ‘jcode’

And in the view DO NOT escape the string, so just

:with => “‘search=’ + $F(‘search’)”

in the view.

best regards,


Jonathan W.