Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.6.0
-
Windows 8.1, Simlified Chinese locale
Description
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
Error appears.
D:\PROJECTS\Temp\test-bom\platforms\wp8\App.xaml(1,1,1,1): error : Invalid character in the given encoding. Line 1, position 1. [D:\PROJECTS\Temp\test-bom\platforms\wp8\HelloCordova.csproj]
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.