Page 1 of 1

[Module]UTF-8 Gaming

Posted: Mon Oct 19, 2026 11:45 pm
by Archive-Poster
This module can set the name with special characters.
First , need to set the string to UTF-8(Bom or without Bom are accepted).
In China, most coder make a plug-in or module to get it !
so, I just recode it with a C++, and make a native that server can use it.

native:

Code: Select all

native set_utf8_name(index, uname[]);
 
//linux version have not this.Requested from ot_207
//ansi to utf8 
native ansi_to_utf8(const ansi[], utf8[], ulen);
 
//utf8 to ansi
native utf8_to_ansi(const utf8[], ansi[], alen);