cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Schmidt (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-11241) File encoding test fails with UTF-8 file encoding error on windows store submission
Date Tue, 10 May 2016 06:28:12 GMT

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

Michael Schmidt updated CB-11241:
---------------------------------
    Description: 
File encoding test

```
FAILED
UTF-8 file encoding
Error Found: The UTF-8 file encoding test detected the following errors:
File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
File www\js\angular-bootstrap-cordova-deviceready.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte
Order Mark).
File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte
Order Mark).
File www\js\template-cache.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
File www\js\winstore-jscompat.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
File www\plugins\cordova-plugin-console\www\console-via-logger.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
...

Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 form with a
corresponding byte-order mark (BOM) in order to benefit from bytecode caching and to avoid
other runtime error conditions.

How to fix: Open the affected file, and select "Save As..." option from the File menu in Visual
Studio. Select the drop-down control next to the Save button and select "Save with Encoding..."
option. From the Advanced save options dialog, choose the "Unicode (UTF-8 with signature)"
option and click the OK button.
````

  was:
File encoding test

```
FAILED
UTF-8 file encoding
Error Found: The UTF-8 file encoding test detected the following errors:
File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
File www\js\angular-bootstrap-cordova-deviceready.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte
Order Mark).
File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte
Order Mark).
File www\js\template-cache.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
File www\js\winstore-jscompat.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
File www\plugins\cordova-plugin-console\www\console-via-logger.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-console\www\logger.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-device\src\windows\DeviceProxy.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-device\www\device.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-dialogs\src\windows\NotificationProxy.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-dialogs\www\notification.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\src\windows\FileProxy.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\DirectoryEntry.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\DirectoryReader.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\Entry.js is not properly UTF-8 encoded. Re-save the
file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\File.js is not properly UTF-8 encoded. Re-save the
file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileEntry.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileError.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileReader.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileSystem.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\fileSystemPaths.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\fileSystems.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileUploadOptions.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileUploadResult.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\FileWriter.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\Flags.js is not properly UTF-8 encoded. Re-save the
file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\LocalFileSystem.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\Metadata.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\ProgressEvent.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\requestFileSystem.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\resolveLocalFileSystemURI.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file\www\browser\isChrome.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file-transfer\src\windows\FileTransferProxy.js is not properly
UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file-transfer\www\FileTransfer.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-file-transfer\www\FileTransferError.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-fullscreen\www\AndroidFullScreen.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-geolocation\src\windows\GeolocationProxy.js is not properly
UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-geolocation\www\Coordinates.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-geolocation\www\geolocation.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-geolocation\www\Position.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-geolocation\www\PositionError.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-network-information\src\windows\NetworkInfoProxy.js is not
properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-network-information\www\Connection.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-network-information\www\network.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-statusbar\src\windows\StatusBarProxy.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-statusbar\www\statusbar.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-vibration\src\windows\VibrationProxy.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\cordova-plugin-vibration\www\vibration.js is not properly UTF-8 encoded.
Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\ionic-plugin-keyboard\src\windows\KeyboardProxy.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File www\plugins\phonegap-nfc\src\windows\nfc-plugin.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
File www\plugins\phonegap-nfc\www\phonegap-nfc.js is not properly UTF-8 encoded. Re-save the
file as UTF-8 (including Byte Order Mark).
File www\index.html is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte
Order Mark).
File www\css\index.css is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).

Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 form with a
corresponding byte-order mark (BOM) in order to benefit from bytecode caching and to avoid
other runtime error conditions.

How to fix: Open the affected file, and select "Save As..." option from the File menu in Visual
Studio. Select the drop-down control next to the Save button and select "Save with Encoding..."
option. From the Advanced save options dialog, choose the "Unicode (UTF-8 with signature)"
option and click the OK button.
````


> File encoding test fails with UTF-8 file encoding error on windows store submission
> -----------------------------------------------------------------------------------
>
>                 Key: CB-11241
>                 URL: https://issues.apache.org/jira/browse/CB-11241
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Windows
>    Affects Versions: 6.1.1
>            Reporter: Michael Schmidt
>
> File encoding test
> ```
> FAILED
> UTF-8 file encoding
> Error Found: The UTF-8 file encoding test detected the following errors:
> File www\cordova_plugins.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
> File www\cordova-js-src\exec.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
> File www\cordova-js-src\platform.js is not properly UTF-8 encoded. Re-save the file as
UTF-8 (including Byte Order Mark).
> File www\js\angular-bootstrap-cordova-deviceready.js is not properly UTF-8 encoded. Re-save
the file as UTF-8 (including Byte Order Mark).
> File www\js\app.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
> File www\js\libs.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including
Byte Order Mark).
> File www\js\template-cache.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
> File www\js\winstore-jscompat.js is not properly UTF-8 encoded. Re-save the file as UTF-8
(including Byte Order Mark).
> File www\plugins\cordova-plugin-console\www\console-via-logger.js is not properly UTF-8
encoded. Re-save the file as UTF-8 (including Byte Order Mark).
> ...
> Impact if not fixed: HTML, CSS, and JavaScript files must be encoded in UTF-8 form with
a corresponding byte-order mark (BOM) in order to benefit from bytecode caching and to avoid
other runtime error conditions.
> How to fix: Open the affected file, and select "Save As..." option from the File menu
in Visual Studio. Select the drop-down control next to the Save button and select "Save with
Encoding..." option. From the Advanced save options dialog, choose the "Unicode (UTF-8 with
signature)" option and click the OK button.
> ````



--
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