utf8 fix, basic search function