char (primitive)
Package: CURL.LANGUAGE.CORE-TYPES

Primitive data type for single characters.

Description

You can use this data type to store a single character. Characters in Curl adhere to the Unicode Standard. As such, each character has an associated Unicode value, which must be in one of the following ranges:



Values outside of these ranges are not legal Unicode characters.

Curl uses 32 bits to store each char value. The default value for a char is 0x0000 (which is the Unicode/ASCII character NUL).

Notes

When specifying a character, use single quotes (') to surround the character specification. The character specification can consists of a keyboard character (a) or a code from the Unicode Standard (\u0061). (To specify a code from the Unicode Standard, place the characters \u before the four-digit hexadecimal code or the character \U before the eight-digit hexadecimal code.)