replacing special caracters according to the utf-8 meta