[haiku-development] Re: Need new UTF-16 to UTF-8 conversion functions in exfat, GPL okay?

  • From: John Scipione <jscipione@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Fri, 14 Feb 2014 16:39:16 -0500

On Fri, Feb 14, 2014 at 3:59 PM, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> On 02/14/2014 03:12 AM, John Scipione wrote:
>>
>> This is the next task on my todo list for exfat. I assume that BFS
>> probably does the work of handling name collisions already so perhaps I
>> could copy that code or export it to the vfs layer.
>
> Haiku is UTF-8 only, and so is BFS. Haiku supports file name lengths of 256
> bytes, and so does BFS. That wasn't even an accident ;-)

BFS doesn't have to handle truncation of a filename, because there is
no need, but, what if you try to name a file the same name as another
file, even if the names aren't byte for byte the same due to
precomposed vs decomposed UTF-8 chars?

Other related posts: