this post was submitted on 03 Apr 2025
373 points (99.7% liked)

Programmer Humor

22210 readers
1976 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] darksiderbun@lemmy.ca 20 points 1 day ago (2 children)

It's also UTF-8 with BOM. It's also windows western 1252. Dont get me started on international date time formatting and time assumptions :(

I wish it was just UTF-8

[–] syklemil@discuss.tchncs.de 11 points 1 day ago

It's also some surprise internal representation as utf-16; that's at least still in the realm of Unicode. Would also expect there's utf-32 still floating around somewhere, but I couldn't tell you where.

And is mysql still doing that thing with utf8 as a noob trap and utf8_for_real_we_mean_it_this_time_honest or whatever they called it as normal utf8?

[–] khapyman@sopuli.xyz 7 points 1 day ago

Me too. To this Day our national Electric invoice standard uses ISO-8859-15. An that's just fine until somebody feels the need to have a look with Notepad, add a random space and save the file.

Notepad then helpfully changes the encoding to UTF-16 and the whole patch errors out somewhere down the chain.