From 9a88e9ff0385f66e7c565a394908503dc6e916ad Mon Sep 17 00:00:00 2001 From: neodarz Date: Fri, 28 Apr 2017 00:30:19 +0200 Subject: Site updated at 2017-04-28T00:29:42+02:00 source branch was at: f1965c50670f611ef54f9471490d45a554f7d866 Correct a link --- .../2016-01-14-the-dirtiest-mistakes-of-os-x.html | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 build/blog/2016-01-14-the-dirtiest-mistakes-of-os-x.html (limited to 'build/blog/2016-01-14-the-dirtiest-mistakes-of-os-x.html') diff --git a/build/blog/2016-01-14-the-dirtiest-mistakes-of-os-x.html b/build/blog/2016-01-14-the-dirtiest-mistakes-of-os-x.html new file mode 100644 index 00000000..4738d43c --- /dev/null +++ b/build/blog/2016-01-14-the-dirtiest-mistakes-of-os-x.html @@ -0,0 +1,55 @@ + + + + + + + +The dirtiest mistakes of OS X + + + + + + + + +
This blog has been archived.
Visit my home page at zhimingwang.org.
+ +
+
+

The dirtiest mistakes of OS X

+ +
+

I must have written about this elsewhere, but here are my top three:

+
    +
  1. .DS_Store. Finder litters faster than one could clean up.

  2. +
  3. HFS+ NFD*.1 Heard of the cursed encoding UTF8-MAC? Pure Evil. Culprit of tons of garbled text issues (especially cross platform ones) and probably most length miscalculation issues. Even Apple's Terminal.app can't do NFD right. I wonder how Korean users navigate their filesystems in terminal.

  4. +
  5. Plist XML. It's XML, but even worse.

  6. +
+
+
+
    +
  1. NFD with an asterisk, i.e., not even NFD. According to Apple in an old Technical Q&A,

    +
    +

    The terms used in this Q&A, precomposed and decomposed, roughly correspond to Unicode Normal Forms C and D, respectively. However, most volume formats do not follow the exact specification for these normal forms. For example, HFS Plus (Mac OS Extended) uses a variant of Normal Form D in which U+2000 through U+2FFF, U+F900 through U+FAFF, and U+2F800 through U+2FAFF are not decomposed (this avoids problems with round trip conversions from old Mac text encodings). It's likely that your volume format has similar oddities.

    +
    +

    They are conscious enough to call these oddities.↩︎

  2. +
+
+
+
+ + + -- cgit v1.2.1