UnicodeLowercase
Converts the specified Unicode (UTF-16) codepoint to its lowercase equivalent.
Declaration
Source position: lazutf16.pas line 51
function UnicodeLowercase( |
u: Cardinal |
):Cardinal; |
Arguments
u |
|
Cardinal value for the Unicode character converted to lowercase in the routine. |
Function result
Cardinal value with the lowercase equivalent for u, or the value in u when conversion is not needed.
Description
UnicodeLowercase ensures the character (16-bit codepoint) is converted to lowercase using the case conversion logic for the UTF-16 encoding. Characters in the following Unicode blocks are handled:
- $0041..$005A
- Capital letters in the C0 Latin block
- $00C0..$00DE
- Capital letters in the C1 Latin-1 Supplement block
- $0100..$024E
- Capital letters in the Latin Extended-A block
- $0386..$03AB
- Capital letters in the Greek and Coptic block
- $03D8..$042F
- Archaic letters in the Greek and Coptic block
- $0460..$0512
- Historic letters in Cyrillic block
- $0531..$0556
- Capital letters in the Armenian block
- $10A0..$10C5
- Capital letters in the Georgian block
- $1E00..$1FFC
- Capital letters in the Latin Extended Additional block
- $2126..$2183
- Characters in the Letter-like Symbols block
- $24B6..$24CF
- Parenthesized Latin letters in the Enclosed Alphanumerics block
- $2C00..$2C2E
- Capital letters in the Glagolitic block (precursor of Cyrillic)
- $2C60..$2CE2
- Capital letters in the Latin Extended-C block
- $FF21..$FF3A
- ASCII variants in the Halfwidth and Fullwidth Forms block