fix encoding error

detect encoding

fix encode error

import error
Merge branch 'fix_encode_error' of https://github.com/douhashi/redmine_importer into fix_encode_error