Difference between revisions of "Unit CP866OEM"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Reference === Description === ---- The CP866OEM unit provides the OEM to Unicode (and reverse) mappings for the CP866 OEM (Russian) charac...")
 
 
(3 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
=== Description ===
 
=== Description ===
 
----
 
----
 +
 +
'''Ultibo CP866 (OEM) Interface unit'''
  
 
The CP866OEM unit provides the OEM to Unicode (and reverse) mappings for the CP866 OEM (Russian) character set. To use this unit include it in the uses clause of any unit in your program, the code page will be registered during unit initialization and will be available for string translation functions such as OemToChar.
 
The CP866OEM unit provides the OEM to Unicode (and reverse) mappings for the CP866 OEM (Russian) character set. To use this unit include it in the uses clause of any unit in your program, the code page will be registered during unit initialization and will be available for string translation functions such as OemToChar.
Line 29: Line 31:
 
----
 
----
  
: <code>procedure CP866OEMInit;</code> - Initialize the CP866OEM unit. ''(This function is called automatically by unit initialization)''
 
  
 +
'''Initialization functions'''
 +
 +
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;">
 +
<pre style="border: 0; padding-bottom:0px;">procedure CP866OEMInit;</pre>
 +
<div style="font-size: 14px; padding-left: 12px;">'''Description:''' Initialize the CP866OEM unit</div>
 +
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;">
 +
{| class="wikitable" style="font-size: 14px; background: white;"
 +
|-
 +
! Note
 +
| This function is called automatically by unit initialization
 +
|-
 +
|}
 +
</div></div>
 +
<br />
  
 
Return to [[Unit_Reference|Unit Reference]]
 
Return to [[Unit_Reference|Unit Reference]]

Latest revision as of 05:56, 31 August 2021

Return to Unit Reference


Description


Ultibo CP866 (OEM) Interface unit

The CP866OEM unit provides the OEM to Unicode (and reverse) mappings for the CP866 OEM (Russian) character set. To use this unit include it in the uses clause of any unit in your program, the code page will be registered during unit initialization and will be available for string translation functions such as OemToChar.

This unit can be used as the default OEM code page in a call to the SetOEMCP function in the Ultibo unit, the corresponding ANSI code page will be set to CP1251ANSI.

Code page ID: CP_OEM_866

Constants


None defined

Type definitions


None defined

Public variables


None defined

Function declarations



Initialization functions

procedure CP866OEMInit;
Description: Initialize the CP866OEM unit
Note This function is called automatically by unit initialization


Return to Unit Reference