[fpc-pascal] Adding file to string to the RTL
Ryan Joseph
genericptr at gmail.com
Tue Oct 6 18:39:43 CEST 2020
> On Oct 6, 2020, at 2:12 AM, Michael Van Canneyt via fpc-pascal <fpc-pascal at lists.freepascal.org> wrote:
>
> I added the following functions to the sysutils unit (rev 47056):
Great, thanks Michael.
I've always used AnsiString so why is UnicodeString preferable here?
So is the idea we need to specify an UTF-8 encoding for unicode otherwise it assumes ASCII format? I didn't specify the encoding with TStringList and I always seemed to get back what I wanted (maybe it sniffed the encoding from the file?).
Regards,
Ryan Joseph
More information about the fpc-pascal
mailing list