I'm wanting to write an pre-interview question (for java, but that's not important) that has a different answer if you look at it vs if you copy-paste it and run it so that we can check if people actually do the problem manually.
To do this, I'm trying to find a unicode character that will look the same as an ascii character on-screen (so that at some point in my question I can have two methods with the same names but have Integer/int arguments)
I know it's potentially subversive, but I'm hoping it will give an extra metric to validate the other answers.
Note: I've tried the turkish 'i' - it seems to be ascii - is there a unicode version?
Edit/NB: Looks like my intentions were mis-understood... These questions are intended to be done manually, NOT by a compiler. If they're copying the text and compiling then they're bypassing the question, and this is intended to trip them up (or more simply give the wrong answer). The ones that do both will either figure it out, or come to the real interview with confusion that we can help them through.
Final Note: :( this doesn't look like it's really possible - most editors (on windows) will attempt to save in cp1252 (somehow my 1 file was saving as UTF-8) in which case I don't think there's any characters that will work without prompting some sort of save error