CharacterToUnicode (String function)
Translate characters to unicode (String class)
[Introduced in Sirius Mods 8.0]
CharacterToUnicode takes a string input and outputs a copy of it in which any of the input characters that are also specified in a character mapping object are replaced with the characters to which they are mapped by the object. CharacterToUnicode takes a CharacterToUnicodeMap object as input, which maps code points in a character set to corresponding Unicode characters.
Syntax
%unicode = string:CharacterToUnicode( characterToUnicodeMap) Throws CharacterTranslationException
Syntax terms
%unicode | Unicode |
---|---|
string | string |
characterToUnicodeMap | CharacterToUnicodeMap object |