Live data from Hacker News

What every software developer must know about Unicode in 2023

tonsky.me

411–420 of 572 posts

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

#411
post #397
post #136

Earlier quoted context omitted.

Can you write them with iOS keyboard? Or when you say Apple Notes and chat apps you just mean from desktop? Edit ①: seems the answer is not with the default iOS keyboard, but possible to paste it and perhaps possible with a third party keyboard that I'm not keen on trying (unless I hear of a keyboard that's both genuinely useful / better than default, and that doesn't send keystrokes to the developer - though I can't…

The default iOS Japanese keyboard allows easily entering circled numerals and many other “exotic” characters.

Yeah many "exotic" characters were introduced to Unicode from Japanese legacy computers 〠〄

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

#412

> People are not limited to a single locale. For example, I can read and write English (USA), English (UK), German, and Russian. Which locale should I set my computer to? Ideally - the "English-World" locale is supposedly meant for us, cosmopolitans. It's included with Windows 10 and 11. Practically, as "English-World" was not available in the past (and still wasn't available on platforms other than Windows the last…

Unix style locale (set by env vars) is flexible, that can set per app. Android and iOS now support locale per app recently IIRC. Windows locale settings is global and some requires reboot.

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

#413

Earlier quoted context omitted.

Anytime tonsky's site gets posted here, I'm reminded by how awful it is, which is ironic given his UI/UX background. The site's lightmode is a blinding saturated yellow, and if you switch into darkmode, it's an even less readable "cute" flashlight js trick. I don't know why he thought this was a good idea. Thank god for Firefox reader mode.

Works like a normal website with JavaScript disabled. I didn't even know it did fancy junk until reading the comments here. NoScript saves the day again! I don't know how people can browse the web without it.

I never understood how people can browser the we WITH IT. Even 10 years ago. today more then ever basically every website needs JS to work properly. I basically never come across a page where I have the urge to disable JS. I have a large list of adblock lists active that also help getting rid of cookie banners and other shit.

I can not imagine manually approving JS for every site. And again doing the inverse and have noscript installed to deny one website a year does not seem to be worth it for me. In this case I can also just use a adblock rule to block that specific script or all .js files from the domain I guess. So I really no not need NoScript.

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

#414
post #333

Pretty clearly, "every software developer" doesn't need to understand Unicode with this level of familiarity, much like "every programmer" doesn't need to know the full contents of the 114 page Drepper paper. For example, I work on a GUID-addressed object store. Everything is in term of bytes and 128-bit UUIDs. Unicode is irrelevant to everyone on my team, and most adjacent teams. There is lots of software like this.

Every programmer don't have to remember all things in this article, but they should remember that Unicode (or text system in the wild) is actually complex so they should research as needed.

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

#415
If just for the fact that it annoys people I love the mouse cursor idea. But I also find it technically interesting. Is some kind of consent legally needed per GDPR or something for this? I for sure is tracking, literally. And a website has to ask to set cookies ...

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

#416
post #213

Honestly the "what encoding is this! UTF-8" is still the only thing we need to know. len(emoji) is still a corner case that few will care about.

That's what everyone thinks, until the user sticks an emoji in the name field

No emojis (or anything else remotely exotic) in names thanks.

    /^[A-Za-z\-' ]+$/
Users can beg and grovel at my feet for every measly character beyond that puny set that they want allowed in a name field.

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

#417
post #257

Earlier quoted context omitted.

I expect to delete the character "á". And I prefer consistency too so I expect "œ" and " " and " " to be deleted as one unit. edit: emojis are filtered by HN

Even the emoji's that you create by combining multiple emojis? Type one emoji, then a second, it merges into one. What happens when you backspace?

I expect the full emoji to be deleted. Because it merged into one visual entity.

I guess it's more ambiguous for some languages that can have long ligatures though.

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

#418

Earlier quoted context omitted.

It would be a better joke if there were an option to turn the joke off. As it is, dark mode doesn't exist and the pointers occlude text.

> 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 the fact that it's still damn hard to read anything.

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

#419

Earlier quoted context omitted.

Anytime tonsky's site gets posted here, I'm reminded by how awful it is, which is ironic given his UI/UX background. The site's lightmode is a blinding saturated yellow, and if you switch into darkmode, it's an even less readable "cute" flashlight js trick. I don't know why he thought this was a good idea. Thank god for Firefox reader mode.

I don't think he added moving cursors all over the page because he thought it was good UI/UX, he knows what he is doing.

I'm having a hard time reconciling "he knows what he is doing" with him making his site practically unusable without a reader mode, which by the way, not every browser supports (especially on mobile).

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

#420
post #238
post #122

Earlier quoted context omitted.

Good times. If you click on the sun switch the entire UI gets zeroed out and you get to use on:hover mouse shtick to read the UI through a fuzzy radius. Is Yoko Ono designing websites now?

It's a joke. It made me laugh.

It's a bad joke. It made me close the browser tab.
Post reply on HN