I'm coding a md5 program . The program works well for the string ,so i went to md5 file test.Then everything went beyond my expectation. I copyed the the file path with these steps:
- select the file and right click
- open the property tab the switch to the security tab
- copy the filepath to my code ,edit the backslash stuff
But the program said that it couldn't find the file .When i moved the file to the current workspace and manually type the filename ,the program sometimes worked while complained for the file not found . It worked ,i don't why.It didn't work, i don't know why .
Confused as i was,i tried to figure out what's wrong and that wasted my day.The i asked someone for help .I sent the source file to my friend .He opened it with vim ,found some suspicious character in the filepath. The suspicious character is :<202a> .After deleted the <202a>, my program worked .Holy crap!
I asked him to get the filepath as i did. But the program still worked .This time i felt like a dumbass. So i get a filepath on my machine as the instruction i just said ,my program reported file not found as before. After some futile trial ,i can see there is an invisible bar at the begin of the path . So that invisible bar was the trouble maker.
So there come the questions:
why there is an unexpected unicode contol character at te begin of path?
why win 8.1 has this issue while win7 doesn't?
how can i disable the nauseous feature on win8.1?
Thank you very much.