[fpc-devel] Unicode support (yet again)

Michael Schnell mschnell at lumino.de
Wed Sep 14 13:23:08 CEST 2011


On 09/14/2011 10:51 AM, Felipe Monteiro de Carvalho wrote:
> In this case then for sure we cannot only have file routines only in
> UTF-16, because that would make it impossible to identify many files
> in Linux...
Who says that file names are supposed to be human readable and this done 
in some character encoding ?

AFAIK:

With EXT they are just streams of up to 512 bytes  (with 0x00 and '/' 
disallowed)

With old style FAT they are just arrays of 11 bytes (maybe with 0x00, 
'.' and '\' disallowed) and ASCII characters of lower case and upper 
case identical

With "long filename FAT" I fear it's quite complicated (e.g. short and 
long file name of a file need to be recognized as identical). But no 
unicode here.

-Michael




More information about the fpc-devel mailing list