r178 fails windows phone review submission

Bugs will be moved here once resolved.

Post » Mon Sep 01, 2014 8:26 pm

When submitting the app to the windows phone store it fails the review with the following encoding issues.

FAILED - UTF-8 file encoding

"Error Found: The UTF-8 file encoding test detected the following errors:
File tizen-iap.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File channel.html is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).
File bubblegum.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."

Of course its easy to fix by the developer but it would be better if they didn't have to tweak these files. bubblegum.css is a font file which was imported into the project so it it is debatable if files should be encoded on import.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Thu Sep 04, 2014 3:19 pm

This is pretty strict on Microsoft's part. All our files are UTF-8 encoded, it just looks like some are missing the BOM (byte order mark).

I've fixed the encoding of tizen-iap.js and channel.html for the next build. However we can't control external files like bubblegum.css, you'll need to fix them yourself.
Scirra Founder
B
395
S
233
G
88
Posts: 24,376
Reputation: 193,842

Post » Thu Sep 04, 2014 3:48 pm

Cheers. Totally understandable regarding external files. If its imported with the correct encoding it wont be a reoccurring issue for each build anyway. Which is the point of the issue.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests