cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Soref (JIRA)" <>
Subject [jira] [Updated] (CB-5468) improve config.xml encoding handling of utf-8
Date Fri, 13 Dec 2013 00:54:07 GMT


Josh Soref updated CB-5468:

    Summary: improve config.xml encoding handling of utf-8  (was: improve config.xml encoding

> improve config.xml encoding handling of utf-8
> ---------------------------------------------
>                 Key: CB-5468
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry, CLI, Plugman
>            Reporter: Josh Soref
>            Assignee: Josh Soref
>             Fix For: 3.3.0
> If you have a config.xml w/o a BOM in UTF-8 and try to use cordova build on BlackBerry,
you'll get an error.
> That logic is here:
> cordova cli on the other hand seems to only handle UTF-8 (and not UCS2/UTF-16).
> That logic is here:
> The specification for config.xml is here:
> Let doc be the result of loading the widget config doc as a [DOMCore] Document using
an [XML] parser that is both [XMLNS]-aware and xml:lang aware.
> [XML] defers to:
> which says:
> The mechanism for encoding character code points into bit patterns may vary from entity
to entity. All XML processors must accept the UTF-8 and UTF-16 encodings of Unicode [Unicode].

This message was sent by Atlassian JIRA

View raw message