handle unicode in searches