UTF-8 is a mix of 8-bit characters for represent all possible languages.
How send 8-bit character to be used with RouterOS?
You must transform the character to HEX equivalent,
for example ±, common on both Latin CP1252 and Cyrillic CP1251 must be converted from UTF-8,
and on UTF-8 that character use two bytes: ± = "\C2\B1"
So, the program that send the string to RouterOS must convert all non-7-bit characters from UTF-8 to escaped HEX sequences.
Fo convert Привіт to one MikroTik usable string:
Example of conversion code
П = \D0\9F
р = \D1\80
и = \D0\B8
в = \D0\B2
і = \D1\96
т = \D1\82
Привіт = "\D0\9F\D1\80\D0\B8\D0\B2\D1\96\D1\82"
But obviously the conversion must happen before the RouterOS is involved on any way.
Or more "simply" (for all languages) use directly only 7-bit characters:
Привіт => Pryvit
The same is for emoticons, at the end are siply characters with specific design.
emoticon example code
"@anav " = "@anav \F0\9F\8D\81"