Euro sign can be different
Posted: Thu Aug 09, 2012 9:58 am
On my website, I tried to validate two variables using this code:
and had and error even if the two string variable seemed to be exactly the same.
Actually, the last char of the string was the euro sign: €
In the first string, it was directly the sign € (using the E key from keyboard), whereas the second string used the HTML sign: €
I finally found the difference after 2 hours working on it ... !
Is it a bug or is it something you wanted?
Code: Select all
Validate.AreEqual(sTemp,PrixPack)
Actually, the last char of the string was the euro sign: €
In the first string, it was directly the sign € (using the E key from keyboard), whereas the second string used the HTML sign: €
I finally found the difference after 2 hours working on it ... !
Is it a bug or is it something you wanted?