[vJASS] Can't get Ascii to work

Status
Not open for further replies.
My newgen editor just won't save properly with [Snippet] Ascii .
errors.jpg
 
Looks like a charset encoding error.
It appears that there are these Ä or Å characters are added in the indenting.
Ofcourse that script as it is shown in the error display is not going to work, which you probably have guessed.
Try placing it in some high level text editor and use utf8 or utf16 charsets.
I suppose that copying and pasting from the thread or map should also work, but you probably already tried that
 
paste in notepad, use [ctrl]+[f] (then select "replace").
then use the extended option (the one that allows escaping stuff to be able to place non-printable characters) (probably optional, but still better to use).
then replace "\t" with " " (4 spaces) and use "replace all".
then copy from notepad and paste in the code.
 
Status
Not open for further replies.
Back
Top