[ 
https://issues.apache.org/jira/browse/CB-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shazron Abdullah updated CB-6269:
---------------------------------

    Component/s:     (was: iOS)

> Can't build a IOS project from CLI, if its name has special chars (accents)
> ---------------------------------------------------------------------------
>
>                 Key: CB-6269
>                 URL: https://issues.apache.org/jira/browse/CB-6269
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CLI
>    Affects Versions: 3.4.0
>         Environment: Mac OS X 10.9
>            Reporter: Marcel Barbosa Pinto
>            Priority: Minor
>              Labels: International, build, ios, normalization, project
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> CLI commands:
> cordova create test com.test "Téça App"
> cd test
> cordova platform add ios
> cordova build ios
> it generates an error in the following file:
> cordova/src/metadata/ios_parser.js line 78
> if(name != this.originalName){
>   (...)
> }
> The app name with accent ("Téça App") is not normalized. All though the name 
> is the same, the condition above returns true;
> Variable name comes from the config.name() that reads the config.xml
> variable this.originalName comes from the fs.readdirSync
> Maybe the encode get lost here, or we should just add a normalize function 
> before compare the strings.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to