![]() |
I am working on something using sampfuns and i have a function which parameters takes string example:
void CALLBACK settext(std::string params) { } /settext Да the word "Да" show in very weird characters.. can you help me to display it in correct way |
You can check it on simple console application with multibyte encoding?
|
C++:
Код:
size_ti convert the string to widestring to be set correctly and yeah the ws contain the word without any encoding issue, but i am wondering why when i try to write it to the Buff it shows there strange characters! |
C++:
Код:
stdC++: Код:
// Windows style |
thank you so much! it works ;)
|
| Время: 16:10 |