[Lazarus] ForceDirectoriesUTF8

Xiangrong Fang xrfang at gmail.com
Sat Mar 2 15:18:20 CET 2013


My program is always in {$mode objfpc}  So string is not a problem, but
shall I use the UTF8 version or not? I remember that Windows is NOT UTF8?

2013/3/2 Sven Barth <pascaldragon at googlemail.com>

> On 02.03.2013 15:12, Xiangrong Fang wrote:
>
>>   * Avoid using AnsiString or the like (as all my programs use string
>>
>>     type, change them all to AnsiString is scaring and I don't know the
>>     consequence at all).
>>
>
> Are your programs compiled in either {$mode Delphi} or {$mode
> ObjFPC}{$H+}? If so then "String" = "AnsiString" already... (otherwise
> String is equivalent to ShortString)
>
> Regards,
> Sven
>
> --
> ______________________________**_________________
> Lazarus mailing list
> Lazarus at lists.lazarus.**freepascal.org<Lazarus at lists.lazarus.freepascal.org>
> http://lists.lazarus.**freepascal.org/mailman/**listinfo/lazarus<http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130302/537c2659/attachment-0003.html>


More information about the Lazarus mailing list