Fix problem in Windows and Mac

Default encoding might not be "UTF-8" in Windows and Mac.
So, I add the encoding to argument for InputStreamReader.

Probably, this relates to #2.

Thanks.