this post was submitted on 17 Apr 2024
10 points (100.0% liked)

Programmer Humor

28061 readers
859 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 7 comments
sorted by: hot top controversial new old
[–] apoisel@discuss.tchncs.de 2 points 2 years ago (2 children)

These errors were much more common before Unicode encodings were in broad use. Unicode pretty much solved this.

[–] wizardbeard@lemmy.dbzer0.com 1 points 2 years ago

Only if it's enabled by default, or the dev knows to enable it.

I had a lot of weird problems processing some info with names in Powershell until I found out that Powershell doesn't default to unicode format when shoving output into files. You can easily specify the encoding, but if you don't it replaces any non-ascii characters with "?" by default, so it's not even immediately obvious that there's an incorrect character, as it just silently substitutes a valid one.

[–] Norgur@fedia.io 0 points 2 years ago (1 children)

No it hasn't. It has just pushed them out of sight for English natives.

[–] apoisel@discuss.tchncs.de 1 points 2 years ago

Can't confirm that. In the 90s encodings were a nightmare. ISO-8859-1, ISO-8859-15, CP1252, IBM850, ... If you tried to build a website with an upload form, you'd get the most bizarre encodings and there was no way to reliably distinguish them. I'm not an English native, my world is full of umlauts and s-z ligatures. Things got A LOT better in the last years, thanks to Unicode encodings.

[–] WhereGrapesMayRule@lemmy.world 1 points 2 years ago (1 children)

I would have sex with this bumper sticker.

[–] Imgonnatrythis@sh.itjust.works 1 points 2 years ago (1 children)

Sir, This is a Wendy's parking lot.

[–] WhereGrapesMayRule@lemmy.world 1 points 2 years ago

You're just making it worse.