Steps to reproduce:
- Set Region > Administrative > Change System Locale to Chinese (Simplified, China).
- Restart machine.
- cordova create hello
- cd hello
- cordova platform add wp8
- cordova build wp8
There is a malformed files that changed during create process for the wp8 project under the Chinese system locale. It looks like create.js is interpreting the initial file header incorrectly with the Chinese system locale, then printing it out to the file.
Build will fail under a different System locale as well.