Forum

> > CS2D > General > The problem with the code color and utf-8
Forums overviewCS2D overviewGeneral overviewLog in to reply

English The problem with the code color and utf-8

3 replies
To the start Previous 1 Next To the start

old The problem with the code color and utf-8

Kyky-Pyky
User Off Offline

Quote
The problem with the code color and encoding utf-8

If the file encoding utf-8 is not working color code "©".
In utf-8 code "©" = 194. And to be 169.

I use the code lua
1
2
3
local CC = string.char (169)
msg (CC.. "255000000 Hello, world!")
msg (CC.. "255150030" .. string.byte ('©'))

have any ideas? or is it a bug?
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview