[Lazarus] Lazarus Release 1.6
Kamen Ketev
kamenlist at abv.bg
Wed Feb 24 10:46:05 CET 2016
In which modul are
WinCPToUTF8 or CP1251ToUTF8? ( Error: Identifier not found "WinCPToUTF8")
I want to make my application both on Windows and Linux.
In Linux can I use the same functions or have any other?
Is SysToUtf8 works on Linux? If I use encoding UTF-8 for the fail it works.
Regards,
Kamen
>-------- Оригинално писмо --------
>От: Mattias Gaertner nc-gaertnma at netcologne.de
>Относно: Re: [Lazarus] Lazarus Release 1.6
>До: lazarus at lists.lazarus.freepascal.org
>Изпратено на: 24.02.2016 11:20
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
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160224/3e243d84/attachment-0003.html>
More information about the Lazarus
mailing list