[OpenAFS] Swedish characters in AFS, files created in Windows cannot be used in Mac OS X

Carson Gaspar carson@taltos.org
Tue, 22 May 2012 09:15:12 -0700


[ UTF8 normalization hell discussion elided ]

I'm not recommending a solution, but I figured the Solaris ZFS behaviour 
might be informative. Here is the man page excerpt for the 2 options 
that control how the filesystem treats filenames:

      normalization = none | formC | formD | formKC | formKD

          Indicates whether  the  file  system  should  perform  a
          unicode  normalization  of  file names whenever two file
          names are compared, and  which  normalization  algorithm
          should be used. File names are always stored unmodified,
          names are normalized as part of any comparison  process.
          If  this  property  is  set  to a legal value other than
          none, and the utf8only property  was  left  unspecified,
          the  utf8only  property  is automatically set to on. The
          default value of the  normalization  property  is  none.
          This property cannot be changed after the file system is
          created.


      utf8only=on | off

          Indicates whether the file  system  should  reject  file
          names  that  include  characters that are not present in
          the UTF-8 character code set. If this property is expli-
          citly set to off, the normalization property must either
          not be explicitly set or be set  to  none.  The  default
          value  for  the  utf8only property is off. This property
          cannot be changed after the file system is created.

If AFS were to adopt this strategy, it would probably need to be done on 
the server side.