Swoffa / SublimeKickAssemblerC64

Sublime Package for C64 development with Kick Assembler.
47 stars 15 forks source link

Won't compile when ↔︎ char is in a comment #61

Open RoelN opened 3 years ago

RoelN commented 3 years ago

If my code comments contain ↔︎, the build script will fail.

E.g.

txa // X ↔︎ A

This produces the following error:

bash: -c: line 0: unexpected EOF while looking for matching `''
bash: -c: line 1: syntax error: unexpected end of file
[Finished in 0.1s with exit code 2]
[shell_cmd: echo 'ascii' codec can't decode byte 0xe2 in position 2437: ordinal not in range(128)]
Swoffa commented 3 years ago

Thanks @RoelN for reporting. Will look into it.

og2t commented 3 years ago

I think that's KickAssembler's fault. Had similar issues with other UTF-8 chars.

RoelN commented 3 years ago

FWIW, this used to compile file when had my own build script, but it stopped working when I started using Sublime KickAssembler. That's why I raised the issue here instead of at KickAssembler. :-)

Swoffa commented 3 years ago

@RoelN I am pretty sure I know what the problem is, just need some time to fix it. :)

RoelN commented 3 years ago

Cool beans! 👍