this post was submitted on 21 Nov 2023
238 points (93.1% liked)

Programmer Humor

32410 readers
1 users here now

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

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] plistig@feddit.de 104 points 2 years ago (1 children)
[–] FishFace@lemmy.world 31 points 2 years ago (2 children)

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

[–] plistig@feddit.de 10 points 2 years ago (1 children)

¯\_(ã )_/¯

print('¯\_(ツ)_/¯'.encode('u8').decode('l1'))
[–] FishFace@lemmy.world 6 points 2 years 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...