[fpc-devel] Unicode support (yet again)

Marco van de Voort marcov at stack.nl
Fri Sep 16 14:36:24 CEST 2011


In our previous episode, Luiz Americo Pereira Camara said:
> 
> Take the example of FileExists:
> 
> The current LCL implementation - the UTF8 -> UTF16 conversion is done 
> with the need of auxiliary code:

All the routines you name (fileexists, filegetattr etc) will become
rawbytestring and accept both utf8 and utf16, and then only in the
implementation figure out if conversion is necessary. (to the encoding of
the OS)

And they will accept both those encodings in both RTLs. The different RTLs
are more for the classes hierarchy.
 



More information about the fpc-devel mailing list