On Wed, Nov 26, 2008 at 12:40 PM, Mark Overmeer <[EMAIL PROTECTED]> wrote:
> Also, I get data from a CD which was written case-insensitive and then
> copied to my Linux box.  It would be nice to be able to say: "treat this
> directory case insensitive" (even when the implementation is slow)
> Shared with Windows default behavioral interface.
>

That is a task for the operating system, not Perl. You're trying to
solve the problem at the wrong end here IMHO.

> For instance, you do not know in which character-set the filename is;
> that is file-system dependent.  So, we treat filenames as raw bytes.

On native file-system types (like ext3fs), character-set is not
file-system dependent but non-existent. It really is raw bytes.

> This does cause dangers (a UTF-8 codepoint in the filename with a \x2F
> ('/') byte in it, for instance)

A \x2F always means a '/'. UTF-8 was designed to be backwards
compatible like that.

Regards,

Leon Timmermans

Reply via email to