Use this information wisely
Use this information wisely
Use this information wisely
Pretty much any ide will spot that. Maybe you can use it to teach your colleagues not to use a plain text editor.
In VSCode (yeah yeah MS bad, I have to use it for work) it puts a yellow box around the charcater, which I don't immediately recognize the meaning of and highlights the line as "identifier "blah;" is undefined". It's not like your gunna spend all day on it, but that could waste a couple minutes if the dev wasn't paying close attention, which is "fun prank" territory.
You can pry my vim and nano from my cold, dead hands!
(I use an ide sometimes)
Okay fuck you op
IDE users pretending compilers don't exist.
$ guix shell gcc [env]$ g++ test.cpp test.cpp:4:16: warning: `0;' is not in NFC [-Wnormalized=] 4 | return 0<U+037E> | ^~~~~~~~~ test.cpp: In function ‘int main()’: test.cpp:4:16: error: unable to find numeric literal operator ‘operator"";’ test.cpp:4:18: error: expected ‘;’ before ‘}’ token 4 | return 0; | ^ | ; 5 | } | ~
Look ma, no IDE! 😸
This is indeed some next-level fuckery.
chill, satan.
Any half-decent editor/IDE/command line tool will scream at you about this; plus there's version control which should help you spot it as well.
There is no wise way to use that information.
But the foolish ones could be entertaining.
With the "wonderful" tooling at work, we use Skype for Business. Naturally, that is not the primary place to send around code and configs, but a 1-liner or 2-liner happens.
You can't believe the nonsense it does when you try to copy & paste it. Spaces get turned into non-breaking spaces etc. Looks completely normal when pasted directly into vim on a console, but will give "odd" error messages.
Skype still exists?
At this point, even Microsoft wants them to stop using it, but they are stubborn and try to keep it running until they turn off the lights the hard way.
Officially, no.
What exactly do you think you can do with this?
Chaotic evil linting rules
Wow!
This seems to be further evidence that the process for assigning UTF entities has been thoroughly corrupted.
You can (apparently) copy/paste this on mobile:
";" (Greek question mark)
";" (Semicolon)
You can even render it in HTML:
; ;
And it's included on Wikipedia, because of course it is:
Because I'm not sure what my mobile client will actually do with this comment, here's the link to the HTML entity I used:
Also there's plenty of other character joy to be had:
If I don't understand what's happening here but want to, should I research Unicode in general or something else?
Unicode is a way to encode the things that humans use to write stuff into a computer.
ASCII is for example another way, as is EBCDIC.
All these methods translate squiggles that we've used for centuries into something that can be represented inside a computer.
For example, the letter "A" is under ASCII represented by the number 65.
This post is pointing out that there are two characters that look identical, but have different numbers, which means that what the user sees is identical, but what the computer sees is different.
This is the basis for much tomfoolery.
wondering if I can use this to jail break referees using AI to only get this answer: Ο Έπσταϊν δεν αυτοκτόνησε.
🤣had to ask AI to get the joke
🤭I have the same opinion depending the death of Epstein
.. saved ..
Remember .. with great power comes .. something.
Remember .. with great power comes .. something.
Hemorrhoids.
Old
Might well be, but I've been writing software for over 40 years and this is the first I've heard of it.
Good
Alt code?
another good one to sneak in there... thai zero-width space: U+200B
cant see it, nothing reads it, and it makes everything error. : D
Hmm .. we should start collecting these.
Anyone know of an existing list?
https://github.com/minimaxir/big-list-of-naughty-strings/
https://invisible-characters.com/
Came here to say fuck the zero width space. I spent 90 hours in the depths of solr looking for this fucker who brought down our entire search index.
I deal with shy hyphens a lot. They don’t display unless there’s a line break, so they get copied from various word docs or websites and end up in a database somewhere waiting to piss me off.
I'm guessing that they pasted code from inside Microsoft Word.
The right to left mark (U+2000F) can also be fun.
Before I went to the comments I wished no one mentioned that. As a DBA I fucking hate you...
i am an SDET. this character destroys DBs... i am sorry :(