Re: Feedback on the proposal to change U+FFFD generation when decoding ill-formed UTF-8

From: Hans Åberg via Unicode <>
Date: Tue, 16 May 2017 17:44:54 +0200

> On 16 May 2017, at 17:30, Alastair Houghton via Unicode <> wrote:
> On 16 May 2017, at 14:23, Hans Åberg via Unicode <> wrote:
>> You don't. You have a filename, which is a octet sequence of unknown encoding, and want to deal with it. Therefore, valid Unicode transformations of the filename may result in that is is not being reachable.
>> It only matters that the correct octet sequence is handed back to the filesystem. All current filsystems, as far as experts could recall, use octet sequences at the lowest level; whatever encoding is used is built in a layer above.
> HFS(+), NTFS and VFAT long filenames are all encoded in some variation on UCS-2/UTF-16. ...

The filesystem directory is using octet sequences and does not bother passing over an encoding, I am told. Someone could remember one that to used UTF-16 directly, but I think it may not be current.
Received on Tue May 16 2017 - 10:45:18 CDT

This archive was generated by hypermail 2.2.0 : Tue May 16 2017 - 10:45:18 CDT