• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[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