[Lazarus] TStringList.LoadFromFile encoding parameter

Ondrej Pokorny lazarus at kluug.net
Fri Jul 8 19:56:47 CEST 2016


On 08.07.2016 12:22, Michael Van Canneyt wrote:
>
>
> On Fri, 8 Jul 2016, Michael Schnell wrote:
>
>> AFAIK, Delphi XE features a second parameter "encoding" with 
>> TStringList.LoadFromFile.
>>
>> Lazarus / fpc misses same.
>>
>> Bug or Feature ?
>
> Known missing feature, there exists a bug for it.
>
> Main problem is that this necessitates a unicode stringlist, and by
> extension a unicode RTL. We're working on it.

Why do you need a unicode stringlist? I wrote a class helper for myself 
that does it.

Ondrej


More information about the Lazarus mailing list