Back to the same problem: today I was working on a stack when I saw the dreaded message

.
I remembered someone here had mentioned the problem was linked to the coding of characters in the script. So I did this

asap:
- select all the script, open TextEdit, paste into it (strangely enough, the script appeared with keywords in colours, while in Livecode script editor it was black on white; oh, well…)
- in TextEdit I went to 'Preferences' > 'Ouverture et Enregistrement' (that would be 'open & save', I guess) tab
- selected 'save with > Unicode UTF-16'
- saved the file; I quit TextEdit just to make sure
- opened the same doc again in TextEdit, select all, copy
- back to the [faulty] Livecode script, select all, paste, save
et voilà! no more error message.
