Difference between revisions of "Unit CP1251ANSI"
From Ultibo.org
(Created page with "Return to Unit Reference === Description === ---- The CP1251ANSI unit provides the ANSI to Unicode (and reverse) and Uppercase/Lowercase mappings for the...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
---- | ---- | ||
+ | |||
+ | '''Ultibo CP1251 (ANSI) Interface unit''' | ||
The CP1251ANSI unit provides the ANSI to Unicode (and reverse) and Uppercase/Lowercase mappings for the CP1251 ANSI (Cyrillic) 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 AnsiUpperCase. | The CP1251ANSI unit provides the ANSI to Unicode (and reverse) and Uppercase/Lowercase mappings for the CP1251 ANSI (Cyrillic) 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 AnsiUpperCase. | ||
Line 29: | Line 31: | ||
---- | ---- | ||
− | |||
+ | '''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 CP1251ANSIInit;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' Initialize the CP1251ANSI 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:52, 31 August 2021
Return to Unit Reference
Description
Ultibo CP1251 (ANSI) Interface unit
The CP1251ANSI unit provides the ANSI to Unicode (and reverse) and Uppercase/Lowercase mappings for the CP1251 ANSI (Cyrillic) 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 AnsiUpperCase.
This unit can be used as the default ANSI code page in a call to the SetACP
function in the Ultibo unit, the corresponding OEM code page will be set to CP866OEM.
Code page ID: CP_ANSI_1251
Constants
None defined
Type definitions
None defined
Public variables
None defined
Function declarations
Initialization functions
procedure CP1251ANSIInit;
Description: Initialize the CP1251ANSI unit
Note | This function is called automatically by unit initialization |
---|
Return to Unit Reference