- From: Arun Ranganathan <arun@mozilla.com>
- Date: Fri, 13 Nov 2009 02:37:49 -0800
- To: Maciej Stachowiak <mjs@apple.com>
- CC: Anne van Kesteren <annevk@opera.com>, WebApps WG <public-webapps@w3.org>
Maciej Stachowiak wrote: > > On Nov 10, 2009, at 5:29 PM, Anne van Kesteren wrote: > >> "The name of the file as a UTF8-encoded string." A DOMString is not >> UTF-8-encoded. I think this should just say "Returns the filename". >> It is not more complicated than that as far as I can tell. > > There are some filesystems on (mostly legacy) Unix-like systems where > filenames are stored in some other encoding than UTF-8, and in some > cases the encoding is not even known. For example, in Japan there > exist NFS fileservers where the filenames are encoded in Shift-JIS. In > cases like that it's a little more complicated than "Return the > filename" but it's probably ok to just leave it to the UA or the > operating system to figure out how to deal. Interpreting it as UTF-8 > is likely to be a poor choice in such cases. I agree. The draft no longer says that the name has to be in UTF8. -- A*
Received on Friday, 13 November 2009 10:45:10 UTC