# unichar2int

This function converts a single-character-length universal charstring value into an integer value in the range of 0 ... 2 147 483 647. The integer value describes the 32-bit encoding of the character.

Related keyword:

- integer
- universal
- charstring

### unichar2int(universal charstring value) return integer

Example 1:

const integer c_siffra := unichar2int("ï¿½");

The constant called c_siffra will have the integer value 130.