Fix encoding for characters in search (content_t field)