↓ Skip to main content
  1. Posts/

Power Shell Script ( Passing Documents to UTF-8 )

Rubén Infante Docio
Author
Rubén Infante Docio
Software engineer
Table of Contents

The other day, I was programming an application for Windows 8 with the HTML5/CSS3/JS trio, in it, I had to unzip zip files, use AJAX, jQuery, a calendar… in short.

The good thing about using Javascript is that there is always a library out there that does exactly what you need it to do (with more or less mishaps and adaptations of course :mrgreen: ).

I check snaps, internet connection… and I start to pass the App Certification Kit (ACK) it turns out that the results report showed 178 references to files, which were not in the necessary coding for Windows 8 applications (UTF-8).

Why does this happen?
#

  • Synchronization issues with TFS
  • Use of external javascript files not created with Windows 8.

That’s why I started to make a sript in Power Shell ( lately when programming in Windows 8, I have a little abandoned the Unix ones :-| ).

Download
#

You can download it from here.

Instructions
#

Download the Script ->Right-click -> Run in Power Shell -> Enter the path -> Enter

With that you will have all your files ready, and one less problem to take into account when certifying your applications for Windows 8.

UPDATE: Be careful! There are times when Visual Studio does not even warn that this is the problem. Reporting only that the syntax of the document is incorrect, which can lead to the belief that it is due to errors in the code

Related