[fpc-devel] Unicode support (yet again)
Marco van de Voort
marcov at stack.nl
Wed Sep 14 12:10:01 CEST 2011
In our previous episode, Martin Schreiber said:
> > 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.
> >
> Linux expects an array of bytes in filenames (no encoding, no utf-8) AFAIK.
It is a bit agnostic yes. But does that really matter if all other programs
write filenames in utf8 encoding? It might as well be specified to be utf-8
then, there is no difference in approach.
More information about the fpc-devel
mailing list