jamesB, you need a font image with cyrillic chars loaded, setTextExtendedFontImage() command applied with that image index number passed to it for your text objects (or setTextDefaultExtendedFontImage() for all by default) and some function to map Unicode chars to ASCII ones, like this one:
function strReplaceCyrillicWithASCIIExtendedLatin(s as string)
// license: MIT
// copyright (c) 2016, Simon Grim
// tip me via bitcoin:1C5NZCMkjJTf8v7t41QwW9EeCjJcLEbf5s or https://paypal.me/harder
s = replaceString(s, 'А', chr(192), -1)
s = replaceString(s, 'Б', chr(193), -1)
s = replaceString(s, 'В', chr(194), -1)
s = replaceString(s, 'Г', chr(195), -1)
s = replaceString(s, 'Д', chr(196), -1)
s = replaceString(s, 'Е', chr(197), -1)
s = replaceString(s, 'Ё', chr(168), -1)
s = replaceString(s, 'Ж', chr(198), -1)
s = replaceString(s, 'З', chr(199), -1)
s = replaceString(s, 'И', chr(200), -1)
s = replaceString(s, 'Й', chr(201), -1)
s = replaceString(s, 'К', chr(202), -1)
s = replaceString(s, 'Л', chr(203), -1)
s = replaceString(s, 'М', chr(204), -1)
s = replaceString(s, 'Н', chr(205), -1)
s = replaceString(s, 'О', chr(206), -1)
s = replaceString(s, 'П', chr(207), -1)
s = replaceString(s, 'Р', chr(208), -1)
s = replaceString(s, 'С', chr(209), -1)
s = replaceString(s, 'Т', chr(210), -1)
s = replaceString(s, 'У', chr(211), -1)
s = replaceString(s, 'Ф', chr(212), -1)
s = replaceString(s, 'Х', chr(213), -1)
s = replaceString(s, 'Ц', chr(214), -1)
s = replaceString(s, 'Ч', chr(215), -1)
s = replaceString(s, 'Ш', chr(216), -1)
s = replaceString(s, 'Щ', chr(217), -1)
s = replaceString(s, 'Ъ', chr(218), -1)
s = replaceString(s, 'Ы', chr(219), -1)
s = replaceString(s, 'Ь', chr(220), -1)
s = replaceString(s, 'Э', chr(221), -1)
s = replaceString(s, 'Ю', chr(222), -1)
s = replaceString(s, 'Я', chr(223), -1)
s = replaceString(s, 'а', chr(224), -1)
s = replaceString(s, 'б', chr(225), -1)
s = replaceString(s, 'в', chr(226), -1)
s = replaceString(s, 'г', chr(227), -1)
s = replaceString(s, 'д', chr(228), -1)
s = replaceString(s, 'е', chr(229), -1)
s = replaceString(s, 'ё', chr(184), -1)
s = replaceString(s, 'ж', chr(230), -1)
s = replaceString(s, 'з', chr(231), -1)
s = replaceString(s, 'и', chr(232), -1)
s = replaceString(s, 'й', chr(233), -1)
s = replaceString(s, 'к', chr(234), -1)
s = replaceString(s, 'л', chr(235), -1)
s = replaceString(s, 'м', chr(236), -1)
s = replaceString(s, 'н', chr(237), -1)
s = replaceString(s, 'о', chr(238), -1)
s = replaceString(s, 'п', chr(239), -1)
s = replaceString(s, 'р', chr(240), -1)
s = replaceString(s, 'с', chr(241), -1)
s = replaceString(s, 'т', chr(242), -1)
s = replaceString(s, 'у', chr(243), -1)
s = replaceString(s, 'ф', chr(244), -1)
s = replaceString(s, 'х', chr(245), -1)
s = replaceString(s, 'ц', chr(246), -1)
s = replaceString(s, 'ч', chr(247), -1)
s = replaceString(s, 'ш', chr(248), -1)
s = replaceString(s, 'щ', chr(249), -1)
s = replaceString(s, 'ъ', chr(250), -1)
s = replaceString(s, 'ы', chr(251), -1)
s = replaceString(s, 'ь', chr(252), -1)
s = replaceString(s, 'э', chr(253), -1)
s = replaceString(s, 'ю', chr(254), -1)
s = replaceString(s, 'я', chr(255), -1)
s = replaceString(s, '»', chr(187), -1)
s = replaceString(s, '«', chr(171), -1)
s = replaceString(s, '—', chr(151), -1)
s = replaceString(s, '№', chr(185), -1)
endfunction s
e.g.
fontImageRu = loadImage('/media/_path/to/myFontImageRu.whatever') // note you need to have correct '/media/_path/to/myFontImageRu subimages.txt' also
// setTextDefaultExtendedFontImage(fontImageRu) // uncomment this line if you need cyrillic font for all texts by default
txtWithCyrillic = createText(strReplaceCyrillicWithASCIIExtendedLatin('Привет, мир!'))
setTextExtendedFontImage(txtWithCyrillic, fontImageRu) // delete this line if you have uncommented that line above
// to change txtWithCyrillic's string at anytime:
// setTextString(txtWithCyrillic, strReplaceCyrillicWithASCIIExtendedLatin('Как дела, мир?'))
UPD
nah, try
this instead. you still need some font image with well prepared 'subimages.txt' though.
error #1:
'too many stars, too many stares. disembody.'
Unicode yours