http://www.ustream.tv/recorded/25862520 around 00:10:33 on the timeline:
… subtle bugs that, I feel like no-one else would appreciate my pain. Like in the Unicode space there's actually two different ways to store, several characters – like an
é on the Mac traditionally is stored as an
e and an ´ character. When it's rendered they composite them.
On any other platform … store composite characters … one click, one character.
So on the Mac, without intervention, you can get into some nasty problems because the Finder stores it one way, Terminal chose a different way. So you can actually go into the Finder and create a directory – café – then go into the Terminal and
- Code: Select all
touch café
then you have two objects – you have a directory and a file with exactly the same name, which is, it leads to all kinds of … (!) … it looks the same but unlike … where you have differentiator, there's nothing, it's like, and in the Finder, depending on the Finder view you get different experiences. Sometimes you see two folders, sometimes you see a folder and a file, sometimes you see one folder. It's like, it's bizarre. So unfortunately …
… there's a formD-explicit setting so, on the Mac we highly recommend and in fact that's the default, you should use formD so then that problem, you can't do that – when you do the touch it'll actually map it back to the correct way.
You pay a little bit of an overhead but you can keep your sanity. It's crazy to have different stacks using different variants of the encoding.
– Don Brady, amongst panel members at the 2012 Illumos ZFS Day.