Live data from Hacker News

What every software developer must know about Unicode in 2023

tonsky.me

521–530 of 572 posts

Re: What every software developer must know about Unicode in 2023

#521

Earlier quoted context omitted.

> I guess no URLs with funny characters then. "GET /profile/renée" => 500 error, woohoo. That's not really a slam dunk. Lots of sites don't let you have your name in the URL at all, and the average person's experience is that their name would be taken by someone else before they signed up.

Try looking at the moon rather than the finger next time.

Why? I'm not obligated to take sides here, and just because I agree with your overall point doesn't mean I can't point out problems with your argument.

In the metaphor, it's someone telling you your aim is off.

Re: What every software developer must know about Unicode in 2023

#522

Earlier quoted context omitted.

> It's a bad joke. To each their own. > It made me close the browser tab. If you can't handle refreshing or merely clicking it again, that's you having a problem, not the site having a problem.

> If you can't handle refreshing or merely clicking it again, that's you having a problem, not the site having a problem. No, it's the site's problem. The contrast between the blinding radioactive yellow background and the font is eye straining and doesn't meet the WCAG standards for accessible text. And the dark mode is unusable. The joke would be funnier if there was a real dark mode or if the light mode was readab…

You said the joke made you leave. The normal color scheme is not part of the joke, and I'm sorry it hurts your eyes. I won't try to defend the eye hurting.

> doesn't meet the WCAG standards for accessible text.

Oh, which part of the standards? When I punch #000000 on #FDDB29 into contrast checkers I get good results.

The single quote isn't as good but all the rest has those colors.

Re: What every software developer must know about Unicode in 2023

#525

Earlier quoted context omitted.

> It would be a better joke if there were an option to turn the joke off. As others have pointed out, reader mode works as expected.

1. Not every browser has reader mode 2. I don't think it's a very good joke to post long-form content on your blog with the expectation that it's basically unreadable without a reader mode. > The fact that people seem to take it seriously says something about the contemporary state of webdesign :) Mind expanding and what it says exactly about contemporary web design? Whether I take it seriously or not doesn't change…

If you don't have reader mode, get a new browser. Don't tell him to make it boring for all the rest of us who behave normally.

Re: What every software developer must know about Unicode in 2023

#526

Earlier quoted context omitted.

> It would be a better joke if there were an option to turn the joke off. As others have pointed out, reader mode works as expected.

1. Not every browser has reader mode 2. I don't think it's a very good joke to post long-form content on your blog with the expectation that it's basically unreadable without a reader mode. > The fact that people seem to take it seriously says something about the contemporary state of webdesign :) Mind expanding and what it says exactly about contemporary web design? Whether I take it seriously or not doesn't change…

Also, I read it perfectly well and never thought about switching to reader. It made me laugh.

Re: What every software developer must know about Unicode in 2023

#527

Earlier quoted context omitted.

But typing "ö" (e.g. swiss keyboard) and pressing delete & getting an o would be annoying af

It would probably expose the implementation too much, but if you wanted combined characters to be split apart, I would expect "ö" to be removed in one go, whereas an "o" with a combined diaeresis (No idea if it's called that, I got the name from the code chart) would take two backspaces.

The mark with two dots can refer to various things.

Dieresis (Greek word we use in English) is a phenomenon where two vowels don’t merge together to make a new sound. Co-operate, coöperate, or cooperate. You could also shove a glottal stop in there but this is much less extreme. The diaresis marker isn’t used much in the USA. Another common example is naïve.

Umlaut (German word) is the opposite phenomenon: the first vowel sound is inflected by the following, so in German Apfel (apple, pronounced UPfell) becomes Aepfel (apples, EPPfell), instead commonly written Äpfel instead.

People usually refer to the marks by the term in their own language (umlaut, diaresis, caron, accent…). I say Umlaut in German (which doesn’t mark the phenomenon, you just have to know) and diaresis in English though I’m talking about the same symbol.

But diacritics are used in no systematic way in different languages anyway (this is true of the letters themselves too: letters like S, W, V and Z have different pronunciations in English and German, for example). Ppl just needed ways to say “the sound here is similar to the sound of this letter but not really the same” or “when you say this letter also do something else” (like, say, add stress for languages that have that).

English mostly dispenses with them, sometimes adding a letter (g vs gh) but mostly having a very casual relationship with the sound at all. You simply have to know that cooperate isn’t pronounced like chicken coop. I personally think that’s a good thing.

Re: What every software developer must know about Unicode in 2023

#528
post #326

Earlier quoted context omitted.

The nordic layout(s) offer such a mechanism to allow people to type in letters that you'll find in various other European languages, even though the extra letters used in the languages themselves (ÅÄÖÆØ) are present as their own keys. Interestingly, the Swedish layout has no dedicated é key, although é occurs in some Swedish words.

In Swedish, Å, Ä, and Ö are actual letters of the alphabet, while é is used in foreign words. Like the English dieresis (e.g. in coöperate) is essentially unknown in the US and only occasionally used in England, so doesn't give rise to characters with dieresis on the keyboard.

é is used commonly in names and some words that don't feel foreign. For example the word for idea is written idé. Seems like it's an old loan from greek.

Re: What every software developer must know about Unicode in 2023

#529

Earlier quoted context omitted.

> If you can't handle refreshing or merely clicking it again, that's you having a problem, not the site having a problem. No, it's the site's problem. The contrast between the blinding radioactive yellow background and the font is eye straining and doesn't meet the WCAG standards for accessible text. And the dark mode is unusable. The joke would be funnier if there was a real dark mode or if the light mode was readab…

You said the joke made you leave. The normal color scheme is not part of the joke, and I'm sorry it hurts your eyes. I won't try to defend the eye hurting. > doesn't meet the WCAG standards for accessible text. Oh, which part of the standards? When I punch #000000 on #FDDB29 into contrast checkers I get good results. The single quote isn't as good but all the rest has those colors.

I'm using the Firefox Accessibility Tools. But you're right, I mistook the accessibility warning for the quote/header text for the body text. #000 > #FDDB29 does pass unfortunately.

Re: What every software developer must know about Unicode in 2023

#530

Earlier quoted context omitted.

It's a bad joke. It made me close the browser tab.

Boo! I enjoyed it a ton. More fun than another bland sleek web page.

It's a creative and fun website, just not nice to use.
Post reply on HN