I have some text in French in a MySQL field, which appears correctly under PHPMyAdmin:
mentionné
The field is encoded as utf32_unicode_ci
. (It is a varchar(500), utf32_unicode_ci
).
but a call to a PHP script calling this parameter and outputing in html encoded in utf-8 returns:
mentionn�
Here is an extract of my php html header:
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="fr-FR">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
How can I fix this?