I am entering Spanish characters (example: á, ñ, etc.) using the Compose key and writing them to a mySQL table. I then retrieve them and compare them to an identical character entered into a text area on a web page. They appear identical on the web page, but they don't compare equal .
When I enter a special character for Spanish it is rendered as more than one character in code but appears as one special character on the web page. When I view the source code for the web page I can see the multiple characters for each entry and they are different.
I had been using Ubuntu 12.04 and upgraded to 14.04. The code apparently worked with 12.04 but does not work with 14.04.