this post was submitted on 21 Nov 2023
255 points (93.5% liked)

Programmer Humor

33755 readers
586 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 106 points 1 year ago* (last edited 1 year ago) (14 children)
[–] [email protected] 113 points 1 year ago (7 children)
[–] [email protected] 34 points 1 year ago (6 children)

So... UTF-8 interpreted as ISO-8859-1? You have failed Unicode college >:(

[–] [email protected] 11 points 1 year ago (1 children)

¯\_(ã )_/¯

print('¯\_(ツ)_/¯'.encode('u8').decode('l1'))
[–] [email protected] 7 points 1 year ago

And here I was typing out iso-8859-1 like a scrub to make sure I wasn't misremembering the encoding when doing the analogous thing in python...

load more comments (4 replies)
load more comments (4 replies)
load more comments (10 replies)