add scriptencoding (fix #325)
Merge pull request #329 from itchyny/add-scriptencoding

add scriptencoding (fix #325)