<HTML><BODY>
Many thanks, Mattias!<p>Regards,<br>Kamen<br></p><br><br><br><br>
>-------- Оригинално писмо --------
<br> >От: Mattias Gaertner nc-gaertnma@netcologne.de
<br> >Относно: Re: [Lazarus] Lazarus Release 1.6
<br> >До: lazarus@lists.lazarus.freepascal.org
<br> >Изпратено на: 24.02.2016 12:01
<br><br>On Wed, 24 Feb 2016 11:46:05 +0200 (EET)<br>
Kamen Ketev <<a href="javascript: internSendMess('kamenlist@abv.bg')">kamenlist@abv.bg</a>> wrote:<br>
<br>
> In which modul are<br>
> WinCPToUTF8 or CP1251ToUTF8? ( Error: Identifier not found "WinCPToUTF8") <br>
<br>
WinCPToUTF8 from unit LazUTF8 or CP1251ToUTF8 from unit LConvEncoding<br>
<br>
<br>
> I want to make my application both on Windows and Linux.<br>
<br>
The encoding of text files depends on what program you used to create<br>
it. Windows applications usually create either system code page or<br>
UTF-8, sometimes UTF-16 LE. Linux apps mostly UTF-8.<br>
Maybe the function GuessEncoding from LConvEncoding can help.<br>
<br>
> In Linux can I use the same functions or have any other? <br>
> <br>
> Is SysToUtf8 works on Linux? If I use encoding UTF-8 for the fail it works. <br>
<br>
You can use WinCPToUTF8 under Linux too. It simply keeps the UTF-8<br>
there.<br>
<br>
Mattias<br>
<br>
--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="javascript: internSendMess('Lazarus@lists.lazarus.freepascal.org')">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</BODY></HTML>