CharacterToUnicodeMap class: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Created page with "A <var>CharacterToUnicodeMap</var> object contains a mapping of EBCDIC or ASCII (single-byte), characters to <var>Unicode</var> double-byte characters. Each character in an In st...")
 
mNo edit summary
Line 1: Line 1:
A <var>CharacterToUnicodeMap</var> object contains a mapping of EBCDIC or ASCII (single-byte), characters to <var>Unicode</var> double-byte characters.
A <var>CharacterToUnicodeMap</var> object contains a mapping of single-byte code points to Unicode (double-byte) characters. The single-byte characters are presumably EBCDIC or ASCII, though the class does not explicitly require this &mdash; it simply maps code points in some character set to Unicode.
Each character in an In string argument is associated with, or mapped to, an individual character
 
from an Out string argument.
The <var>CharacterToUnicodeMap</var> class provides programmers with a facility for creating or copying
The Out string may be supplemented with instances of a pad character
codepages that are not currently available in the current <var class="product">Sirius Mods</var> version.
to ensure a one-to-one mapping with the In characters.
Besides methods for creating and modifying your own codepage, the class also has
methods for dynamically invoking one of
<var>CharacterToUnicodeMap</var> includes a constructor, copy methods, and an update method
the <var class="product">Sirius Mods</var> codepages supported at your site.
for modifying the map. The [[List of CharacterToUnicodeMap methods|"List of CharacterToUnicodeMap methods"]] shows all the class methods.
 
The [[List of CharacterToUnicodeMap methods|"List of CharacterToUnicodeMap methods"]] shows all the class methods.


The <var>CharacterToUnicodeMap</var> class is new as of version 8.0 of the <var class="product">Sirius Mods</var>.
The <var>CharacterToUnicodeMap</var> class is new as of version 8.0 of the <var class="product">Sirius Mods</var>.

Revision as of 22:21, 1 December 2011

A CharacterToUnicodeMap object contains a mapping of single-byte code points to Unicode (double-byte) characters. The single-byte characters are presumably EBCDIC or ASCII, though the class does not explicitly require this — it simply maps code points in some character set to Unicode.

The CharacterToUnicodeMap class provides programmers with a facility for creating or copying codepages that are not currently available in the current Sirius Mods version. Besides methods for creating and modifying your own codepage, the class also has methods for dynamically invoking one of the Sirius Mods codepages supported at your site.

The "List of CharacterToUnicodeMap methods" shows all the class methods.

The CharacterToUnicodeMap class is new as of version 8.0 of the Sirius Mods.