convert command line params to UTF-8

In JP client, findAll had not worked because character encoding is differ.
Now command line params are encoded to UTF-8.
fixed bug when using thief tools
Merge pull request #1017 from svanheulen/4.1-dev

fixed bug when using thief tools
Merge pull request #1016 from kotodamagic/findall-fix-corrupt

[findAll] convert command line params to UTF-8