I am trying to build a bookmarklet and got slammed with this issue which I was just able to figure out: a \u8203
character, which Chrome unhelpfully tells me in my block of code (upon pasting into the JS console) is an `"Invalid character ILLEGAL".
Luckily Safari was the one that told me it was a \u8203
.
I am editing the code in the Sublime Text 2 editor and somehow copying in and out of it (I also tried TextEdit) fails to remove it.
Is there some sort of website somewhere that will strip all characters other than ASCII?
When I try to save as ISO 8859 but it will save it back as UTF-8 "because of unsupported characters".
... Yeah. that's the point. Get rid of my unsupported evil characters.
What am I supposed to do? Edit my file in a hex editor?
FYI I actually solved it by re-typing the code (which originated from this site by the way).