UTF8#-String
![]()  | Available from TwinCAT 3.1 Build 4026  | 
Syntax:
UTF8#' <string literal> 'Sample: constant declaration
VAR CONSTANT
    sConstA : STRING := UTF8#'aäoöuü;
    sConstB : STRING := UTF8#'Ölbach in Verl $21'; // Ölbach in Verl!
END_VAR![]()  | To ensure correct monitoring, you can add the attribute 'monitoring_encoding' := 'UTF-8'.  | 
See also:
- UTF-8 encoding
 
