On Sat, Aug 12, 2017 at 5:49 PM, Mattias Gaertner via Lazarus <lazarus@lists.lazarus-ide.org> wrote: > On Sat, 12 Aug 2017 17:43:29 -0300 > "Marcos Douglas B. Santos via Lazarus" <lazarus@lists.lazarus-ide.org> > wrote: > >>[...] >> > What encoding has the ini file? >> >> ANSI. A simple text file on Windows with only ANSI chars. > > Which one? Do you mean Windows CP-1252?
Yes... But would it make any difference? >>[...] >> Warning: Implicit string type conversion from "AnsiString" to "WideString" > > Explicit type cast: > > Lib.SetLicense( > WideString(IniFile.ReadString('TheLib', 'license', '')) > ); Wow... everywhere? :( Regards, Marcos Douglas -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus