{"id":32986,"date":"2021-07-01T21:23:33","date_gmt":"2021-07-02T01:23:33","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=32986"},"modified":"2021-07-01T21:23:33","modified_gmt":"2021-07-02T01:23:33","slug":"apfs-volume-names-are-still-a-unicode-mess","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2021\/07\/01\/apfs-volume-names-are-still-a-unicode-mess\/","title":{"rendered":"APFS Volume Names Are Still a Unicode Mess"},"content":{"rendered":"<p><a href=\"https:\/\/eclecticlight.co\/2021\/07\/01\/volume-names-are-still-a-unicode-mess\/\">Howard Oakley<\/a> (<a href=\"https:\/\/twitter.com\/howardnoakley\/status\/1410485871468597251\">tweet<\/a>):<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2021\/07\/01\/volume-names-are-still-a-unicode-mess\/\">\n<p>This article stems from Thomas Tempelmann&rsquo;s (@tempelorg) observation on Twitter that, if you name a volume in Disk Utility, it can remain in Unicode normalized Form C, which isn&rsquo;t compatible with the rest of macOS, which expects Form D to be used.<\/p>\n<p>[&#8230;]<\/p>\n<p>If you do use Disk Utility to create two volumes with what appear to be identical names, but actually differ in their normalisation, then behaviours become stranger still.<\/p>\n<p>[&#8230;]<\/p>\n<p>The underlying problem seems to be a bug in Disk Utility, which fails to normalise volume names to Form D as the Finder does. But there&rsquo;s also a bug in Spotlight indexing which results in volumes with Form C names not being indexed at all. APFS brought us many great things, but this initial design decision has only brought problems, complexity and bugs like these.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/tempelorg\/status\/1410518699300229123\">Thomas Tempelmann<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/tempelorg\/status\/1410518699300229123\"><p>To all #Mac users who have accented chars (or umlauts) in their volume (disk) name: If #Spotlight doesn&rsquo;t work for you, then try renaming your volume in Finder once to &ldquo;abc&rdquo;, then back to your preferred name. That might fix Spotlight.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/12\/31\/nsurl-smb-precomposed-character-bug\/\">NSURL\/SMB Precomposed Character Bug<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/06\/27\/apfs-native-normalization\/\">APFS Native Normalization<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/03\/31\/apfs-to-add-case-insensitive-variant-for-mac\/\">APFS to Add Case-Insensitive Variant for Mac<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2017\/03\/24\/apfss-bag-of-bytes-filenames\/\">APFS&rsquo;s &ldquo;Bag of Bytes&rdquo; Filenames<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Howard Oakley (tweet): This article stems from Thomas Tempelmann&rsquo;s (@tempelorg) observation on Twitter that, if you name a volume in Disk Utility, it can remain in Unicode normalized Form C, which isn&rsquo;t compatible with the rest of macOS, which expects Form D to be used. [&#8230;] If you do use Disk Utility to create two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2021-07-02T01:23:36Z","apple_news_api_id":"162e1eee-00fb-46a3-89dd-a84707b6f79f","apple_news_api_modified_at":"2021-07-02T01:23:36Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AFi4e7gD7RqOJ3ahHB7b3nw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[1395,131,538,30,1891,1042,258],"class_list":["post-32986","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-file-system-apfs","tag-bug","tag-diskutility","tag-mac","tag-macos-11-0","tag-spotlight","tag-unicode"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/32986","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=32986"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/32986\/revisions"}],"predecessor-version":[{"id":32987,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/32986\/revisions\/32987"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=32986"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=32986"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=32986"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}