❝HN 片单

The Effective Power Bug: Why Can Weird Text Crash Your iPhone?

Tom Scott · 2 位 HN 用户推荐 · 2015–2021

  1. That's doubtful, 'effective power' (incidentally that bit of the text was completely arbitrary) was (seemingly) a hard crash caused by an error in the text shortening for the banner notification pop down. Tom Scott has a good speculation video on what might be going on that seems pretty sound. [link]
    — rtkwe, 2015
  2. Sadly, preexisting languages such as Arabic weren’t warning enough in regards to line breaking. As in: an Arabic “character”[a] can change its width depending on if there’s a “character” before or after it (which gives it its cursive-like look). So, a naive line breaking routine could cause bugs if it tried to break in the middle of a word. Tom Scott has a nice video on it that was filmed when the
    — colejohnson66, 2021

← HN 片单