this post was submitted on 11 Oct 2023
1111 points (98.1% liked)

Programmer Humor

32380 readers
1382 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] 7 points 1 year ago (1 children)

Reminds me of the time I couldn't get my code to compile due to invisible unicode characters in the code I copy-pasted from the web.

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

Kinda related, I always copy paste into a "simple" text editor before I copy paste into something else. Slack is so bad about having hidden characters I don't even want to think what other sites/programs do.

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

Do you know if Ctrl+shift+v is good enough? (Paste as plain text)

[–] [email protected] 2 points 1 year ago

That's a great question. I would assume so since the whole point would be to strip out odd encodings. I don't have to do it often enough saved in going to assume that option will depend on the program/OS and if it supports it.