April 19, 2015
https://www.facebook.com/mehtarahulc/posts/10152728037941922
Software programmers will like this post
.
pls see two characters with ascii codes = 146 , 39
.
The look alike.
.
You need to see the difference using debug window of vb.net or excel.vba
.
I was writing code to calculate MD5 hash. And I was usinghttp://onlinemd5.com/ . I calculate hash of a simple text file and then copy paste that text file into http://onlinemd5.com/ and compare the hash. Sometimes it will be same, and sometimes it will be different !!!
.
After spending hours and hours , I found that my file had character with ascii code = 146 and when I copy-paste the string from notepad.exe to textbox of http://onlinemd5.com/ , ascii 146 changes to ascii 39 without any warning or indicator. So now strings are different and so is hash !!!
.
I spent whole day because of difference between these characters !!!
https://www.facebook.com/mehtarahulc/posts/10152728037941922
Software programmers will like this post
.
pls see two characters with ascii codes = 146 , 39
.
The look alike.
.
You need to see the difference using debug window of vb.net or excel.vba
.
I was writing code to calculate MD5 hash. And I was usinghttp://onlinemd5.com/ . I calculate hash of a simple text file and then copy paste that text file into http://onlinemd5.com/ and compare the hash. Sometimes it will be same, and sometimes it will be different !!!
.
After spending hours and hours , I found that my file had character with ascii code = 146 and when I copy-paste the string from notepad.exe to textbox of http://onlinemd5.com/ , ascii 146 changes to ascii 39 without any warning or indicator. So now strings are different and so is hash !!!
.
I spent whole day because of difference between these characters !!!
No comments:
Post a Comment