Forum

> > CS2D > Scripts > unexpected symbol near "i"
Forums overviewCS2D overview Scripts overviewLog in to reply

English unexpected symbol near "i"

3 replies
To the start Previous 1 Next To the start

old unexpected symbol near "i"

D-D3ADxPro
User Off Offline

Quote
I was just putting an anti-hack lua in my new deathrun map I made, but while doing that, I found this little error:

1
LUA ERROR: maps/Deathrun_Snow v1.0.0.2 beta:1: unexpected symbol near "ī"

Didn't find a fix for it. Tried to erase the 1st line of the script, but it doesnt work either.

old Re: unexpected symbol near "i"

Rainoth
Moderator Off Offline

Quote
It's encoded wrong. If you are using Notepad ++ Encode/Convert (not sure which) it in different way. Fixes everytime.

old Re: unexpected symbol near "i"

Apache uwu
User Off Offline

Quote
CS2D doesn't support different encoding afaik. There is no reason to use UTF8-with bom or UTF8-without bom, just use ANSI.

If you want to include the copyright symbol, just use string.char(169).
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview