fix encoding problem with search (and maybe other pages as well)