[fpc-devel] RTL and Unicode filenames operations.

Marco van de Voort marcov at stack.nl
Wed Feb 17 19:19:32 CET 2010


In our previous episode, Martin Schreiber said:
> On Wednesday 17 February 2010 09:15:53 Marco van de Voort wrote:
> >
> > Reject as far as I'm concerned. I'd like to see the RTL being in the system
> > encoding. (IOW UTF-8 on at least FreeBSD/Linux) using an abstracted
> > RTLString.
> >
> Aren't filenames on Linux an array of bytes without any encoding by 
> definition?

I never saw that. The encoding is sometimes a bit opague yes. It will be a
practical detail which exact 1-byte encoding to choose for rtlstring
(cp_utf8, rawbytestring or default). Whatever works best. 

> Are you sure there are no Linux running with other system 
> encoding than utf-8 today?

No. Does it matter?

> How are imported filesystems with other encodings (for example Samba
> shares) handled?

Don't see a relevance here.



More information about the fpc-devel mailing list