Paul Hickman created CB-6334:
--------------------------------

             Summary: Missing utf8 byte order mark for plugin scripts in 
Windows8
                 Key: CB-6334
                 URL: https://issues.apache.org/jira/browse/CB-6334
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 3.4.0
         Environment: Windows 8
            Reporter: Paul Hickman


Issue CB-2050 fixed a problem where Cordova applications did not pass the 
windows store application compatibility test, because the JavaScript files did 
not contain Unicode byte order marks.

Whilst this is fixed for the core Cordova JavaScript file, the BOM is missing 
on the "cordova-plugins.js" file that the "prepare" statement generates, and on 
many of the plugin scripts themselves.

As it is a futile exercise getting every plugin author to ensure they always 
remember to save their files with a byte order mark, could you make the 
"prepare" command for Windows 8 applications add the byte order mark to all 
plugin javascript files that it generates / copies if it is missing.

There is also a potential case to argue that it should do this for the html / 
js / css files in the www folder, but that is at least under the user's control




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

Reply via email to