[Lazarus] TSynEdit.Lines.LoadFromFile and UTF8
bartjunk64 at gmail.com
Fri May 31 08:39:58 CEST 2013
On 5/30/13, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
> Yes, but it is a TSynEditLines, which overloads LoadFromFile and does
> UTF8ToSys itself. It should be changed to use the UTF8
> file functions instead.
I've been unable to find that.
I knew LoadFromFile had to be overloaded somewhere...
> Change syneditlines.pas TFileStream to TFileStreamUTF8.
> I don't have Windows here, so I can not test.
Thanks for pointing me in the right direction.
I will look into it and send a patch in the bugtracker.
(I don't have commit rights in synedit.)
More information about the Lazarus