weirdly poetic

stolen from Simon Tatham

243 points · 5 comments · view on lemmy.world

5 Comments

merde@sh.itjust.works · 6 pts · 1y (2 replies)

chr(ord('๐Ÿš—') ^ 0x20)

spujb@lemmy.cafe · 4 pts · 1y (1 reply)

im confused are you trying to indicate it doesnโ€™t work? it functions as reported for me

lemming934@lemmy.sdf.org · 10 pts · 1y

It also works for me. On macos and linux /usr/bin/env python3 -c "print(chr(ord('๐Ÿš—') ^ 0x20))" gives you ๐Ÿšท

ZiemekZ@lemmy.world · 5 pts · 1y

stolen from Simon Tatham

I didn't think I'll ever see that PuTTY guy on this part of the Internet, yet there we are lol

ookiiBoy@lemmy.blahaj.zone · 2 pts · 1y

Doesn't this still work on some characters because ASCII is a subset of Unicode?