Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6932

Cannot build wp8 under Chinese (Simplified) System locale

    XMLWordPrintableJSON

    Details

      Description

      Steps to reproduce:

      1. Set Region > Administrative > Change System Locale to Chinese (Simplified, China).
      2. Restart machine.
      1. cordova create hello
      2. cd hello
      3. cordova platform add wp8
      4. 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                purplecabbage Jesse MacFadyen
                Reporter:
                vladimir.kotikov Vladimir Kotikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: