It’s possible I’ll regret using this title to make a pun about the degree symbol (°), instead of saving it for a pun about the weather, but ¯\_(ツ)_/¯

I noticed, when copying a bunch of temperatures from a website into a CSV file into a Markdown table, that all but one of the degree symbols came out like º instead of like °. Now, depending what application is rendering those symbols, they might look the same. But, in Visual Studio Code, using the Fira Code font, the former has a little line underneath the circle.

I wondered what the difference was, and what was going on. According to the Wikipedia article on the degree symbol, it’s rendered without an underline. But the most-common lookalike symbol is (emphasis mine):

U+00BA º MASCULINE ORDINAL INDICATOR (HTML º · º) (superscript letter o used in abbreviating words; varies with the font and sometimes underlined)

A-ha. Whatever that symbol is for1, it doesn’t mean “degrees”. So, even though I could just leave those symbols in the table, because who gives a damn… I’m a nerd, and I did all of this research instead, before replacing the ordinal indicators with proper degree symbols. Like a gentleman. You’re welcome. 🤓

  1. oh, it’s for declaring a numeral as ordinal rather than cardinal in certain languages; the way “1st” means “first” and not “one” in English, 1º means “first” in Italian…