5 comments
Doesn't this still work on some characters because ASCII is a subset of Unicode?
2 0 Replychr(ord('🚗') ^ 0x20)
8 2 Replyim confused are you trying to indicate it doesn’t work? it functions as reported for me
4 0 ReplyIt also works for me. On macos and linux
/usr/bin/env python3 -c "print(chr(ord('🚗') ^ 0x20))"
gives you 🚷10 0 Reply
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
5 0 Reply