Fix some multibyte characters be damaged in translation task
Merge pull request #1449 from hissy/translations-task

Fixes bug in grunt translation task with multibyte characters