Ok, maybe it's good idea, but lets back to problem: ansii -->
unicode?
The Delphi
Unicode string has a code page information stored in its metadata. If York input data is meant to be just raw binary data without caring about encoding and code pages, you will not want this string type.
The RawByteString is a string type which does not carry encoding information, which can be used for binary data. But watch out and take care of compiler warnings about implicit string type conversions.
TBytes would be the appropriate data type, RawByteString is only easier to use as AnsiString replacement.