Note that we have a Global Constant SUPPORTED_STRING_LENGTHS : DINT := 512;
That could hold 512 WCHARS, and takes 1026 Bytes of storage per string.
It can hold 512 2-Byte or 256 4-byte Unicode characters.
If we keep this value for UTF8 strings, each string would be 513 Bytes, and can hold 512 1-Byte or 85 6-Byte Unicode characters.
This improvement would halve the storage size for strings, and make converting payloads faster, and also things like string comparison and manipulation.