Forum

> > CS2D > General > The © Error [Solved]
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch The © Error [Solved]

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt The © Error [Solved]

Alex_Aaa789
User Off Offline

Zitieren
In lua there are some ©number, I know it is color code.
But if I save it will say 'There is a Unicode in the text' if I cancel the © will change to cnumber or ?number,
and if I save it as unicode text and host, it will say:
1
LUA ERROR: sys/lua/RP_Aaa789/infmoney.lua:1: unexpected symbol near 'y'
That means don't support unicode text.
Is there any way to fix it? Thanks
1× editiert, zuletzt 20.07.10 12:15:53

alt Re: The © Error [Solved]

DC
Admin Off Offline

Zitieren
..or just change the encoding/charset settings of the program you use to edit your Lua scripts to ANSI/ASCII. do NOT use UTF/Unicode or something like this.

I recommend to use Notepad++
http://notepad-plus.sourceforge.net/ - it is a great editor and should work with the default settings.

alt Re: The © Error [Solved]

Crazyx
User Off Offline

Zitieren
...or even another awesome Lua scripting program called > Komodo Edit (it also supports Perl, Javacsript, etc.).
If I'm not wrong it was Lee, one of the most experienced CS2D scripters (who maintains the Lua Helpdesk @ CS2D.org) that recommended it and uses it).
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht