CharacterToUnicode (String function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Automatically generated page update)
 
mNo edit summary
Line 1: Line 1:
{{Template:String:CharacterToUnicode subtitle}}
{{Template:String:CharacterToUnicode subtitle}}


This page is [[under construction]].
<var>CharacterToUnicode</var> 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. <var>CharacterToUnicode</var> takes a <var>[[CharacterToUnicodeMap class|CharacterToUnicodeMap]]</var> object as input, which maps code points in a character set to corresponding Unicode characters.  
 
==Syntax==
==Syntax==
{{Template:String:CharacterToUnicode syntax}}
{{Template:String:CharacterToUnicode syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
Line 12: Line 14:
<td><var>CharacterToUnicodeMap</var> object</td></tr>
<td><var>CharacterToUnicodeMap</var> object</td></tr>
</table>
</table>
==Usage notes==
==Usage notes==
==Examples==
==Examples==
==See also==
==See also==
{{Template:String:CharacterToUnicode footer}}
{{Template:String:CharacterToUnicode footer}}

Revision as of 23:39, 18 November 2011

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

%unicodeUnicode
string string
characterToUnicodeMap CharacterToUnicodeMap object

Usage notes

Examples

See also