• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
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
 
Level 24
Joined
Aug 1, 2013
Messages
4,658
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.
Top