cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-6932) Cannot build wp8 under Chinese (Simplified) System locale
Date Thu, 12 Jun 2014 13:33:02 GMT


ASF GitHub Bot commented on CB-6932:

GitHub user vladimir-kotikov opened a pull request:

    CB-6932 Cannot build wp8 under Chinese (Simplified) System locale

    This fixes error with incorrect handling of utf-8 ecoded project files during create script
for WP8.
    Issue: [CB-6932](

You can merge this pull request into a Git repository by running:

    $ git pull CB-6932

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #40
commit ac097f2801d4defe5e4d445e10b7102001631a54
Author: Vladimir Kotikov <>
Date:   2014-06-12T13:18:13Z

    Fixes handling of UTF-8 encoded project files.


> Cannot build wp8 under Chinese (Simplified) System locale
> ---------------------------------------------------------
>                 Key: CB-6932
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.6.0
>         Environment: Windows 8.1, Simlified Chinese locale
>            Reporter: Vladimir Kotikov
>            Assignee: Jesse MacFadyen
>              Labels: chinese, locale, wp8
>             Fix For: 3.6.0
> *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.
> {noformat}
> 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]
> {noformat}
> 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.

This message was sent by Atlassian JIRA

View raw message