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

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

Reply via email to