25.04.2017, 16:16
SA-MP uses ANSI strings, which means the characters with codes from 128 to 255 are displayed based on your system's language settings. "привет" are letters from the upper half of the character set, so players from different countries will probably see some gibberish instead of these characters. But in ANSI and the correct codepage, they are supported by this include, if that's what you ask.
I would love to be able to use characters like "č", "п" and "銭" in one string, but unfortunately neither the SA-MP client nor the server supports this. However, thanks to the technique I use in this include, they can be represented in Pawn using encodings like UTF-8, UTF-16 or UTF-32. I am going to create a plugin that can handle Unicode strings some day.
I would love to be able to use characters like "č", "п" and "銭" in one string, but unfortunately neither the SA-MP client nor the server supports this. However, thanks to the technique I use in this include, they can be represented in Pawn using encodings like UTF-8, UTF-16 or UTF-32. I am going to create a plugin that can handle Unicode strings some day.