I want to compare two strings in JavaScript that are the same, and yet the equality operator == returns false. One string contains a special character (eg. the
UTF-8 is a complex thing. The charset has two different codes for characters such as á, é etc. As you already see in the URL encoded version, the HEX bytes of which the character is made differ for both versions.