News for hackers. Stuff that matters.
Re:Charset="WTF-8" by sandreas on Sunday November 24, 2024 @04:17PM (#42230694)
You should have asked how they would encode the german currency sign (€ for euro) in ASCII or its german counterpart latin1/iso-8859-1...

It's not possible. However I bet they would argument to use iso-8859-15 (latin9 / latin0) with the international currency sign (¤) instead or insist that char 128 of latin1 is almost always meant as €, so just ignore the standard in these cases and use a new font.

This would only fail in older printers and who is still printing stuff these days? Nobody right?

Using real utf-8 is just too complex... All these emojis are nuts

Re:Charset="WTF-8" by richardwhiuk on Sunday November 24, 2024 @05:11PM (#42231083)
EUR is the common answer.
Re:Charset="WTF-8" by asddubs on Sunday November 24, 2024 @05:21PM (#42231134)
or just double all the numbers and use DM
Re:Charset="WTF-8" by Y_Y on Sunday November 24, 2024 @05:35PM (#42231223)
Weirdly the old Deutsch Mark doesn't seem to have its own code point in the block start U+20A0, whereas the Spanish equivalent (Peseta, ₧, not just Pt) does.
Re:Charset="WTF-8" by account42 on Tuesday November 26, 2024 @10:46AM (#42246742)
It's not a Unicode issue, there just isn't a dedicated symbol for it, everyone just used the letters DM. Unicode (at least back then) was mostly a superset of existing character sets and then distinct glyphs.
Re:Charset="WTF-8" by Y_Y on Tuesday November 26, 2024 @11:20AM (#42246996)
That would be a fine answer, but for the fact that other currencies like the rupee (₨) that are "just letters" do have their own codepoint. Being made up of two symbols doesn't necessarily make something not a symbols, in semiotics or in Unicode.

In fact this is one of the root problems, there are plenty of Unicode symbols you can make out of others, either juxtaposing or overstriking or using a combining character, but this isn't consistently done.

Re:Charset="WTF-8" by throw0101a on Monday November 25, 2024 @07:33AM (#42235719)
> international currency sign (¤)

TIL:

* https://en.wikipedia.org/wiki/Currency_sign_(generic)

Re:Charset="WTF-8" by account42 on Tuesday November 26, 2024 @10:48AM (#42246753)
UTF-8 is simple, it's Unicode that is complex.
Re:Charset="WTF-8" by sandreas on Thursday November 28, 2024 @09:01AM (#42265314)
Besides UTF-8 is not that simple, it still was irony :-)