fix cannot search non-english and space

1. UTF8 encoding problem
2. space should replace with '+'