refactor encode

from ms932 to utf-8
after this, changed comment from Japanese to English

Signed-off-by: nao_0515_ki_Windows7 <ishigaki0515naoki@gmail.com>