by banana_giraffe · 6y ago · 0 comments
The one I've stumbled across recently are the "Negative Squared Latin Capital Letter" (1F170 - 1F189 [1]). The 26 letters are there, but "A", "B", "O", and "P" are special. Blood types and a parking symbol. Sure, but why? Why was it decided we needed all of the Latin letters in inverted squares, except those? Why aren't they their own symbol? I'm not complaining here, I just want to know the history.
I'd also love to know the history of the other Latin letter ranges. It feels super odd to me to have, say the "Mathematical Bold Fraktur" range of characters (1D56C - 1D59F [2]). What's the history of including a font in Unicode? Why did we stop with the few that are in there?
This is probably somewhere online, but I can't find it.
[1] https://unicode-search.net/unicode-namesearch.pl?term=negati...
[2] https://unicode-search.net/unicode-namesearch.pl?term=mathem...
[0] https://en.wikipedia.org/wiki/Blood_type_personality_theory
Some OSes display some unicode characters as emoji-default. These characters were selected for that for exactly the reason you surmise. There’s a [text presentation selector][] to enforce the text variation. This is also useful for making (yellow triangle with exclamation point inside) become (single color triangle outline with same-color exclamation point inside).
ETA: Ah, OK, here’s a post with pictures demonstrating this: https://stackoverflow.com/questions/48534667/how-to-display-...
[text presentation selector]: http://www.unicode.org/reports/tr51/#def_text_presentation_s...
Those characters have the Emoji_Presentation Unicode property, as listed in https://www.unicode.org/Public/13.0.0/ucd/emoji/emoji-data.t...
If a site wished to exclude garish blobs from comments while permitting textual symbols, that would be the right way to do it.
(And yes, they included not only 𝔸𝔹ℂ𝔻𝔼𝔽𝔾ℍ𝕀𝕁𝕂𝕃𝕄ℕ𝕆ℙℚℝ𝕊𝕋𝕌𝕍𝕎𝕏𝕐ℤ, but also 𝕒𝕓𝕔𝕕𝕖𝕗𝕘𝕙𝕚𝕛𝕜𝕝𝕞𝕟𝕠𝕡𝕢𝕣𝕤𝕥𝕦𝕧𝕨𝕩𝕪𝕫 and 𝟘𝟙𝟚𝟛𝟜𝟝𝟞𝟟𝟠𝟡 in Unicode. In iOS Safari, using the font for entering HN comments, ℂℍℙℚ renders a bit taller and bolder for me. ℝ and ℤ render taller, but not bolder. Why beats me.)
I agree with them on ℂ, ℕ, and ℝ. I also think that makes it hard to disagree with them on the Fraktur letters.
- Complex
- Quaternion (H for Hamilton)
- Natural
- Prime
- Rational (Q for quotient)
- Real
- Zinteger
just kidding. i think Z stands for something in German.
- ℙ used to denote a probability distribution
- 𝔼[X] as the expected value of a random variable X
- 𝟙_S as an indicator function for a set S (which is denoted as a subscript)
- 𝕕 as the differential and integral operator denouncing which variable to integrate over 𝕕f/𝕕x f(x) or ∫ f(x) 𝕕x
I think I've seen 𝕀 and 𝕚 for identity matrices and suchlike, and I'm sure 𝟘 also gets some use.
This Wikipedia page has a good list of why various ones were added, in addition to those from the Subscripts and Superscripts block: https://en.wikipedia.org/wiki/Unicode_subscripts_and_supersc...
As to the mathematical uses, this thought is correct. Niche, obviously, but Unicode has no trouble with niche characters.
It's hard to justify the full alphabet on those lines, though.
There's, imo, a reasonable expectation that if some of those characters were used then some other might be later, and it's easier to have them already in the standard than reserving space for them and then having to backfill it, I suppose.
Font fallback. HN specifies Verdana, Geneva, sans-serif. Geneva has the six characters mentioned. The rest will be rendered using a different font that covers more parts of Unicode, or that covers Unicode math specifically. With the built-in system fonts, that would be Cambria Math on Windows and one of the STIX fonts on macOS.
(Source: Firefox → Inspect Element → Fonts tab of the right Inspector pane. Chrome can do that too in a slightly different place, macOS Safari is too user-hostile to have this feature.)
(And, by the way, iOS doesn’t have Geneva, but it has a version of Verdana)
Last year my Steam name showed properly on MS Win10 and on Kubuntu. About 6 months ago Win 10 started showing it with the O as red. Last week the red O doesn't show at all in one part of Steam but shows white in another part.
I copied the symbols to a Unicode decoder and it showed the O name with a {blood red} modifier, something like that.
I searched briefly but couldn't find the symbol without the red colour, but it only shows red in some places: I'd pasted it into the search bar in Firefox (on Kubuntu), it showed as a number-square (1Fxxx) but then after searching it showed as the red-O character.
Utf8 is weird.
Your issue here is with the characters and their representation, not with the specific encoding. Hence, what you wanted to say is: "Unicode is weird" ;)
o = "\U0001F17E"
black = o + "\ufe0e"
red = o + "\ufe0f"
print(black, red)
HN seems to strip the special sequences, here it is on a pastebin instead: https://paste.debian.net/1169485/More details: http://unicode.org/faq/vs.html http://www.unicode.org/Public/emoji/5.0/emoji-variation-sequ...
[0] https://en.wikipedia.org/wiki/Fraktur#After_1941
[1] https://mathoverflow.net/questions/87627/fraktur-symbols-for...
Despite what it may seem like, I'm really not trying to mis-parse the reasons here, I'm honestly trying to figure out where the line is, and why it's there.
The screenplay is still being written in letters. Mathematical ℝ is more accurately thought of as an ideogram than a letter. If you were to write "let r be a member of ℝ", the "ℝ" would be structurally parallel to the full word "member", not to the "r" within it.
Courier for screenplays is a choice you make at the document level; blackboard bold for mathematical entities is not. ℝ is always ℝ no matter what styles apply to your document.
In which way are they special? As far as unicode is concerned they are all the same. It's just that some have an emoji rendering variant for the blood type reasons. The rendering can be picked through representation characters: http://www.unicode.org/reports/tr51/#def_text_presentation_s...
These all have Emoji_Presentation=No as specified in emoji-data.txt, for precisely this reason (to avoid discrepancies in rendering), but most platforms don't respect these defaults, as it's common to get strings containing emoji from mobile devices, which usually default to emoji presentation. I talk about this a little in my recent "Text layout is a loose hierarchy of segmentation" blog post.
I thought it was suggested to render them like that from Unicode somewhere, but it's 100% possible I'm making that part up.
Some implementations are just wrong.