The new function I write ASCIItoCP1251toUNICODE can be used to convert Cyrillic CP1251 to UNICODE / UTF-2 for PDU, just remove 0x and the last space on
:local unicode "0x$($CP1251toUNICODE->[:find $ascii [:pick $string $pos ($pos + 1)] -1]) "
for obtain
тест = \F2\E5\F1\F2 = 0442043504410442
http://forum.mikrotik.com/t/rextended-fragments-of-snippets/151033/1