Posts Tagged ‘UTF-8’


PrimalPad 2012 gets script signing

Thursday, August 9th, 2012 by Alex Riedel
We think that setting your execution policy to AllSigned or at least RemoteSigned in PowerShell is very important. Likewise, your security policy for VBScript, JScript and WSF file should also only allow signed scripts to be executed. PrimalScript and PowerShell Studio have always supported script signing and so does the new PowerShell Profile Editor. So we concluded that giving you PrimalPad without code signing abilities would be a bit of a double standard. The new PrimalPad 2012 build (2.1.28) supports script signing with any code signing certificate you may have in your personal store, a specific certificate or a PFX…   More »

PrimalScript 2011 Templates: ASCII, Unicode and UTF-8

Tuesday, March 6th, 2012 by Alex Riedel
PrimalScript 2011 creates Unicode files by default. There are some exceptions, like XML files, which are created as UTF-8 files. While generally Unicode is the way to go with international characters and mixed languages and so forth there are some occasions where another encoding has to be used. Once you have a file opened in PrimalScript it is pretty easy to change the encoding: Just right click on the indicator on the status bar and select the  new encoding. Press Save and you are all done. But what if you want to change the default encoding for a file type…   More »

Code pages, batch files and localization

Thursday, June 30th, 2011 by Alex Riedel
PrimalScript 2011 treats everything as Unicode files, so when you open an ASCII file it will be converted to Unicode and then converted back to ASCII when saving. Any conversion to and from Unicode requires a code page, which tells the converter which characters get converted to what. The default Windows code page is 1252 ( and usually this back and forth conversion goes unnoticed. An ASCII VBScript file for example which gets saved with this conversion will not produce any problem, as CScript and WScript use the same code page when writing to the console. So basically the characters…   More »