Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-6334

Missing utf8 byte order mark for plugin scripts in Windows8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Abandoned
    • 3.4.0
    • None
    • cordova-cli
    • Windows 8

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            paulhickman Paul Hickman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: