[fpc-devel] RTL and Unicode filenames operations.

Daniël Mantione daniel.mantione at freepascal.org
Mon Feb 1 10:38:24 CET 2010

Op Mon, 1 Feb 2010, schreef Marco van de Voort:

> In our previous episode, Michael Schnell said:
>>> D2009/d2010 are still windows only.
>> Do you think there is any general problem in using D2009 strings with
>> dynamic encoding with Unix ? On the first view I don't see one.
> In general I prefer to use each platform using its native encoding.
> Some commercial unices are also using utf-16 afaik, since they haven't
> switched their TTY to UTF-8 yet. To be investigated.
> I lean towards RTLString=utf8string; and RTLString=unicodestring on the
> respective platforms, and then express the RTL in RTLString.

No, RTLString=ansistring on Linux and most Unix platforms. Unix is 
encoding agnostic so if you want to use the native string type you must 
simple use old fashioned ansistring.


More information about the fpc-devel mailing list