W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2011

Re: file-system-api: filename restrictions

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 11 Jan 2011 20:10:52 -0500
Message-ID: <4D2CFF9C.6030008@mit.edu>
To: Glenn Maynard <glenn@zewt.org>
CC: Eric Uhrhane <ericu@google.com>, public-webapps@w3.org
On 1/11/11 8:02 PM, Glenn Maynard wrote:
> The infamous Turkish "I" comes to mind as a portability problem: code
> could reasonably create "Info" in one place and read it as "info" in
> another, which would be different files in a Turkish locale.  Windows
> still treats "I" and "i" as the same letter even in Turkish codepages,
> but a Linux glibc-based implementation wouldn't.

For what it's worth. HTML5 typically uses "ASCII case-insensitivity" to 
avoid this problem.  But they're working with strings that are mostly 
ASCII, which may not be the case for filenames....

-Boris
Received on Wednesday, 12 January 2011 01:12:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:15 UTC