cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Luís (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (CB-8250) special characters in config.xml
Date Fri, 15 May 2015 10:51:00 GMT

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

João Luís edited comment on CB-8250 at 5/15/15 10:50 AM:
---------------------------------------------------------

Replacing the special chars in android_parser.js is only half solution. 
The name is also used in platforms to set the text bellow the icon after installing the app.
(i.g. in android, it set the value for strings.xml)

We should also encode the special chars and set them to be used in the platform. This allow
having apps with names like " My $ & €".


was (Author: jrluis):
Replacing the special chars in android_parser.js is only half solution. 
The name is also used in platforms to set the text bellow the icon after installing the app.
(i.g. in android it set the value for strings.xml)

We should also encode the special chars and set them to be used in the platform. This allow
having apps with names like " My $ & €".

> special characters in config.xml
> --------------------------------
>
>                 Key: CB-8250
>                 URL: https://issues.apache.org/jira/browse/CB-8250
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>    Affects Versions: 3.5.0, 4.1.3
>         Environment: Mac OSX Android iOS
>            Reporter: Julien Durens
>
> In the config.xml, when you have an app name containing a special character (in my case
a single quote, or an apostropher) it has to be escaped to work on android, but it shouldn't
on iOS. So I had to change the name of the app according to the platform I was trying to build:
> <name>My app isn\'t that bad</name> on android
> and
> <name>My app isn't that bad</name> on ios
> this kind of job shoud be done by the cordova platform add command



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message