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
[–] TCB13@lemmy.world 98 points 2 years ago* (last edited 2 years ago) (4 children)
[–] 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...

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

Maybe she was sick of trying to get a terminal displaying utf correctly.

[–] TCB13@lemmy.world 4 points 2 years ago

So... she's running DD-WRT :P

[–] Bear_with_a_hammer@lemmy.ml 5 points 2 years ago

UTF-8 Random anyone?