t2ym / gulp-i18n-leverage

Merge changes in default JSON into localized JSON for Polymer I18N with i18n-behavior
Other
0 stars 0 forks source link

UTF-8 BOM should be stripped from JSON #6

Closed t2ym closed 8 years ago

t2ym commented 8 years ago

If UTF-8 BOM is prepending JSON, it should be stripped.

This fix promotes robustness when translators may attach BOM on saving JSON files.