The character literal for a single Unicode character has the base type UDINT
. The type prefix UCHAR#
is prefixed to the literal as an identifier. The numerical value of the character
literal corresponds to the code point of the Unicode standard.
Syntax:
UCHAR#' <single charater> '
Literal
udiChar : UDINT := UCHAR#'ฒ'; // cp 3603 udiChar_1 : UDINT := UCHAR#'⳧'; // cp 11495