The PLCnext Engineer documentation states that a string is encoded using ANSI:
String of ANSI characters followed by a trailing zero character. Each character is represented by one byte.
However, in C++, an IecStringEx is defined as a FixedUtf8String (eclrinterfaces.h):
/// <summary>
/// C++ equivalent of the [pcoslib]System.Iec61131Lib.IecStringEx struct.
/// </summary>
typedef FixedUtf8String IecStringEx;
Does it cause any problems?