login
Header Space

 
 

Re: git on MacOSX and files with decomposed utf-8 file names

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Hommey <mh@...>
Cc: Theodore Tso <tytso@...>, Linus Torvalds <torvalds@...>, <git@...>
Date: Wednesday, January 23, 2008 - 4:15 am

On Jan 23, 2008, at 1:41 AM, Mike Hommey wrote:





I assume you mean NFD, not NFS, but here's what one of the HFS+ =20
engineers had to say:

"In Mac OS X,  SMB, MSDOS, UDF, ISO 9660 (Joliet), NTFS and ZFS file =20
systems all store in one form -- NFC.  We store in NFC since that what =20=

is expected for these files systems."


See above.


Can you produce a reproducible set of steps for this? Because the =20
Finder shouldn't be doing any of this work on its own, all the =20
normalization stuff happens directly in HFS+.


Entirely possible, though renormalizing file contents seems a bit less =20=

likely. I will point out that the text input system in OS X seems to =20
default to producing NFC (at least, typing `echo 'M=E4rchen' | xxd` in =20=

the Terminal shows that the input string there is NFC). So user input =20=

will most likely produce NFC, the only way you're probably going to =20
end up with NFD is if you move a file from HFS+ to another filesystem.

-Kevin Ballard

--=20
Kevin Ballard
http://kevin.sb.org
kevin@sb.org
http://www.tildesoft.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git on MacOSX and files with decomposed utf-8 file names, Kevin Ballard, (Wed Jan 23, 4:15 am)
Re: git on MacOSX and files with decomposed utf-8 file names, Linus Torvalds, (Wed Jan 23, 12:16 pm)
Re: git on MacOSX and files with decomposed utf-8 file names, Martin Langhoff, (Wed Jan 23, 7:37 pm)
Re: git on MacOSX and files with decomposed utf-8 file names, Jonathan del Strother, (Wed Jan 23, 5:02 am)
Re: git on MacOSX and files with decomposed utf-8 file names, Martin Langhoff, (Tue Jan 22, 9:27 pm)
Re: git on MacOSX and files with decomposed utf-8 file names, Martin Langhoff, (Tue Jan 22, 9:14 pm)
Re: git on MacOSX and files with decomposed utf-8 file names, Martin Langhoff, (Tue Jan 22, 9:47 pm)
speck-geostationary