$ npm install utf8-encode
Encode JavaScript strings in UTF8
$ component install ForbesLindesay/utf8-encode
MIT