Hi I\'m trying to compare some text to the text in a database.. in the database any text with an accent is encoded like in html (ie. é) when I compare the databas
Use simply as blow it works for Norwegian characters:
function convert_accent($string) { return htmlspecialchars(utf8_decode($string)); }