On Wed, 14 Sep 2011, Felipe Monteiro de Carvalho wrote:

On Tue, Sep 13, 2011 at 9:23 PM, Michael Van Canneyt
<mich...@freepascal.org> wrote:
One with unicode string, one with ansistring. They will have the same code,
but will be compiled twice, each time with a different compiler define to
decide which version it must be.

Is this possible in UNIX? I can see that in Windows you can use the
trick to use W versions which are identical except for the string type
and drop Windows 9x support, but is this really possible for the UNIX
syscalls? They expect UTF-8 not UTF-16 which is what UnicodeString
uses.

And why would this not be possible ?

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to