[Lazarus] Lazarus Release 1.6
Mattias Gaertner
nc-gaertnma at netcologne.de
Wed Feb 24 10:20:45 CET 2016
On Wed, 24 Feb 2016 08:39:40 +0200 (EET)
Kamen Ketev <kamenlist at abv.bg> wrote:
>
> "What encoding has the text file? CP1251?"
> ANSI. Only this encoding worked with Lazarus 1.4.
> "What function do you use for converting the strings to UTF-8?"
> SysToUtf8(s)
SysToUTF8 was changed, because in the majority of cases it was used for
talking to the RTL.
You can use WinCPToUTF8 or CP1251ToUTF8 instead.
Mattias
More information about the Lazarus
mailing list