diff --git a/README.md b/README.md index c20435e..968d25d 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ pairing with smart people at Hashrocket. For a steady stream of TILs, [sign up for my newsletter](https://crafty-builder-6996.ck.page/e169c61186). -_1495 TILs and counting..._ +_1496 TILs and counting..._ --- @@ -442,6 +442,7 @@ _1495 TILs and counting..._ - [Add Emoji To GitHub Repository Description](internet/add-emoji-to-github-repository-description.md) - [Analyze Your Website Performance](internet/analyze-your-website-performance.md) - [Check Your Public IP Address](internet/check-your-public-ip-address.md) +- [Digraph Unicode Characters Have A Titlecase](internet/digraph-unicode-characters-have-a-titlecase.md) - [Enable Keyboard Shortcuts In Gmail](internet/enable-keyboard-shortcuts-in-gmail.md) - [Exclude AI Overview From Google Search](internet/exclude-ai-overview-from-google-search.md) - [Exclude Whitespace Changes From GitHub Diffs](internet/exclude-whitespace-changes-from-github-diffs.md) diff --git a/internet/digraph-unicode-characters-have-a-titlecase.md b/internet/digraph-unicode-characters-have-a-titlecase.md new file mode 100644 index 0000000..8f8b156 --- /dev/null +++ b/internet/digraph-unicode-characters-have-a-titlecase.md @@ -0,0 +1,29 @@ +# Digraph Unicode Characters Have a Titlecase + +Coming from primarily being exposed to the US American alphabet, I'm familiar +with characters that I type into the computer having one of two cases. Either +it is lowercase by default (`c`) or I can hit the shift key to produce the +uppercase version (`C`). + +Unicode, which has broad support for character encoding across most languages, +has a couple characters that are called _digraphs_. These are single code +points, but look like they are made up of two characters. + +A good example of this is `dž`. And if that character were to appear in an all +uppercase word, then it would display as `DŽ`. + +But what if it appears at the beginning of a capitalized word? + +That's where _titlecase_ comes into the picture -- `Dž`. + +From [wikipedia](https://en.wikipedia.org/wiki/D%C5%BE): + +> Note that when the letter is the initial of a capitalised word (like Džungla +> or Džemper, or personal names like Džemal or Džamonja), the ž is not +> uppercase. Only when the whole word is written in uppercase, is the Ž +> capitalised. + +(I find it odd that wikipedia's article on this digraph code point is using +separate characters instead of the digraph.) + +[source](https://devblogs.microsoft.com/oldnewthing/20241031-00/?p=110443)