News for hackers. Stuff that matters.
Re:Mimic – abusing Unicode to create tragedy by minikomi on Friday October 23, 2015 @06:54AM (#10437817)
Or “real” quotes in code examples..
Re:Mimic – abusing Unicode to create tragedy by scintill76 on Friday October 23, 2015 @07:20AM (#10437892)
Or en-dashes instead of double hypens for command line flags... I can feel my blood pressure rising just thinking about it.
Re:Mimic – abusing Unicode to create tragedy by jimbokun on Friday October 23, 2015 @09:17AM (#10438349)
Hah, I was giving a presentation where I was running little queries as part of a demo. I had copied the queries into the presenter notes in PowerPoint, then pasted them one at a time into a web app to run them.

Couldn't figure out why one of them wasn't working, and it was actually an audience member who figured out PowerPoint had turned a quote character into a "smart quote".

Re:Mimic – abusing Unicode to create tragedy by TorKlingberg on Friday October 23, 2015 @08:45AM (#10438212)
I don't think people do this intentionally. Either the code snippet has passed through MS Word (why?) or their blog tool is being "helpful".
Re:Mimic – abusing Unicode to create tragedy by jff on Friday October 23, 2015 @01:01PM (#10439835)
I once had to do a team project with another student who did all his coding in Wordpad, god knows why. His indentation was more or less random. I wanted to murder him.
Re:Mimic – abusing Unicode to create tragedy by harryc2011 on Friday October 23, 2015 @10:47AM (#10438886)
It happens if you paste the code into an Outlook email (which used Word as the rendering engine IIRC)
Re:Mimic – abusing Unicode to create tragedy by nommm-nommm on Friday October 23, 2015 @06:04PM (#10441508)
Emailed code snippets have this problem when emailed using some email clients (Outlook, looking at you)
Re:Mimic – abusing Unicode to create tragedy by zaptheimpaler on Friday October 23, 2015 @07:49AM (#10437976)
Damn you Google docs! they also do this :(