[OpenAFS-devel] AFS vs UNICODE

Jeffrey Altman jaltman@secure-endpoints.com
Tue, 06 May 2008 14:22:23 -0400


Garrett Wollman wrote:
> <<On Tue, 06 May 2008 10:04:17 -0400, Jeffrey Altman <jaltman@secure-endpoints.com> said:
> 
>>    1. MacOS X and Linux clients begin to apply NFC to all UTF-8 strings
>>       obtained from the operating system whether for directory lookup,
>>       object creation, or symlink target creation.
> 
> How do they know it's a UTF-8 string?  Traditional Unix semantics
> provide that a file name is a byte sequence, not a character
> sequence.

There are algorithms you can use to validate utf-8 sequences.