Sfairadora

  • Reference Guide

char_cp

char_cp(code, cp)
Returns the character (the Char type) with the given code (the Int type) relative to the code-page (the cp parameter, the Int type) specified. If a Unicode code is specified, use the CP_UNICODE constant for the code-page.
A Unicode code of a character can also be acquired by a simple type conversion: [Int]c. Similarly, a character from a Unicode code can be obtained: [Int]c.
Example: char_cp(0xF8, 1250) returns 'ř'

See Also