Forum

> > CS2D > Scripts > "©" is a Unicode character?
Forums overviewCS2D overview Scripts overviewLog in to reply

English "©" is a Unicode character?

13 replies
To the start Previous 1 Next To the start

old "©" is a Unicode character?

YY_201207
User Off Offline

Quote
I know starting "text" with an RGB color code "©RRRGGGBBB" can change the text‘s color. When I save the file it says there is a Unicode character and i cannot save the file in ANSI code. I guess "©" is the "Unicode character". What should i do?

I use windows' notepad to edit lua files.

old Re: "©" is a Unicode character?

YY_201207
User Off Offline

Quote
In programmer‘s notepad and cs2d server info editor, "©" is still "?".
like this
1
2
3
?55255255CS2D - Bomb/Defuse

?55255000official CS2D Map by Mr. Keks (Inarie)

old Re: "©" is a Unicode character?

YY_201207
User Off Offline

Quote
user Hador has written
just save the text with a unicode encoding?
Even the normal windows editor should have that option under 'Save As...'


but cs2d doesn't recognize Unicode files

old Re: "©" is a Unicode character?

DC
Admin Off Offline

Quote
nope, © is NOT a unicode character. It's a standard ANSI ASCII character (8 bit). It equals an unsigned byte with the value 169.

old Re: "©" is a Unicode character?

Geez
GAME BANNED Off Offline

Quote
Method I'm always using that works 100%.

Just open one from default map infos in Notepad (normal Windows notepad), copy the © symbol and paste it into your map info also in Notepad. Confirmed and tested, will work for sure.

Another method is to install Notepad++ (great editor) and just check which charset you want to use.

old Re: "©" is a Unicode character?

Avo
User Off Offline

Quote
Read what I wrote. For lua scripts use
1
string.char(169)
it return this magic character for color changing.

For map info use Factis' little program. Simple and easy.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview