[fpc-pascal] Best way to insert bytes into a TBytes variable?

Michael Schnell mschnell at lumino.de
Mon Jul 31 16:13:15 CEST 2017

On 30.07.2017 12:37, Bo Berglund wrote:
> I asked about this problem over at Embarcadero too, but was flamed 
> foreven thinking about using any kind of string for storing binary data.
They are silly and defending their completely silly implementation of 
Code aware strings, forcing UTF-16 for any TStrings based classes.

The fpc implementation (forcing UTF-8 for any TStrings based classes) is 
slightly less silly.


More information about the fpc-pascal mailing list