Fix search title

This fixes the UnicodeEncodeError that happened if you searched for
something with non-English characters.