Hi,

I would like to create a script to open a file with few lines codes already
included.

I'm doing following but it doesn't work perfectly :

var ept = newEditor();
ept.newFile('test.php');
ept.appendText('<?php\n/*\n* Plugin for XXX by Lolo Irie \n* Š\n* License
GNU/GPL\n*/\n\n\n\n\n\n\n?>');


I mean I get a new file with the PHP code, but it's encoded UTF-16 LE (@ changed
as Ă

Odpovedet emailem