News for hackers. Stuff that matters.
Re:APFS is not safe to use with names which have Unicode nor... by nottorp on Tuesday June 06, 2017 @09:22AM (#14496983)
Well, composed characters may or may not have been a good idea, although they're a pain for text search if you ask me.

But why oh why did they have to specify FOUR normalization forms?

Ref: http://www.unicode.org/reports/tr15/#Norm_Forms

Re:APFS is not safe to use with names which have Unicode nor... by cryptonector on Tuesday June 06, 2017 @04:43PM (#14501146)
Pre-composed characters were needed to make transcoding to ISO-8859-* fast.

Also, for Hangul, though decomposition is the better form to use normally (since it's phonetic, not syllabic), conversion to pre-composed syllabic form is very useful sometimes.

Even without pre-composition there would have been multiple equivalent forms of writing any character that requires more than one combining codepoint.

The only way to have avoided normalization altogether would have been to have no combining codepoints, and only a complete set of pre-compositions. This would have been less flexible, and very obnoxious for Hangul and possibly others.

I believe the need for normalization was simply unavoidable. It's not the fault of Unicode but the fault of humans' script designs. And it's OK.

Re:APFS is not safe to use with names which have Unicode nor... by the_mitsuhiko on Tuesday June 06, 2017 @10:48AM (#14497617)
> But why oh why did they have to specify FOUR normalization forms?

Ignoring compatibility normalizations there are really only two and neither of those two you can remove. So that's a bit of an odd question. If you want to remove the compatibility forms that's fair but nobody is force to use them. You can consider them "partially normalized" or "not normalized at all" for all intents and purposes

Re:APFS is not safe to use with names which have Unicode nor... by cryptonector on Tuesday June 06, 2017 @04:44PM (#14501153)
You can ignore the K forms. So that's two forms, really, NFC and NFD.
Re:APFS is not safe to use with names which have Unicode nor... by TazeTSchnitzel on Tuesday June 06, 2017 @10:23AM (#14497401)
Because you need a normalisation form fit for your particular purpose.
Re:APFS is not safe to use with names which have Unicode nor... by Piskvorrr on Tuesday June 06, 2017 @09:24AM (#14496992)
¯\_(ツ)_/¯