ID:2518826
 
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
We have text2acsii, but with the addition of utf support, there is a need for text2utf. I suggest replacing the obsolete text2acsii.

What would it do? The name does not make it at all obvious.
It should convert the text not to ascii but to Unicode, because text2ascii does not work with Cyrillic at all
text2ascii already returns the Unicode code point at the current position.
In response to Lummox JR
Lummox JR wrote:
text2ascii already returns the Unicode code point at the current position.

It doesn't - it returns the UTF-8 code unit at that position - but this is reasonable and backwards-compatible and the functionality needs to be exposed somehow.

Perhaps a function that did encode or decode between UTF-8 and code units would be useful, though of course it's possible to write in softcode.


Turns out this was based on a bad test environment.
When ш encode and then decode Cyrillic, something definitely goes wrong