[ 
https://issues.apache.org/jira/browse/CB-6932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14029140#comment-14029140
 ] 

ASF GitHub Bot commented on CB-6932:
------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-wp8/pull/40

    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](https://issues.apache.org/jira/browse/CB-6932)

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

    $ git pull https://github.com/MSOpenTech/cordova-wp8 CB-6932

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

    https://github.com/apache/cordova-wp8/pull/40.patch

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 <v-vlk...@microsoft.com>
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: https://issues.apache.org/jira/browse/CB-6932
>             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
(v6.2#6252)

Reply via email to