For example:
Code:
new msg[] = "friends=老友记"
client_print(id, print_chat, msg)
1: save file as ANSI and compile it. Screen display: "friends=" // miss "老友记"
2: save file as UTF8(no BOM) and compile it. Screen display: "friends=老友记" // we alway do this before
if we have native like format_utf8(....)
we can do like this:
Code:
new utf8String[64], msg[] = "friends=老友记"
format_utf8(utf8String,63,msg)
client_print(id, print_chat, utf8String)
save file as ANSI and compile it. Screen display: "friends=老友记"
It is useful when reading lang file and no need to save whole file as utf8.
Actually, I am already done this kind of native by self(works but badly C++ coding).
So if you still think is not realy need it, lock. thanks
__________________