Organizational Research By

Surprising Reserch Topic

mysql utf32 unicode ci and html charset utf 8 used but character appear


mysql utf32 unicode ci and html charset utf 8 used but character appear  using -'mysql,html,encoding'

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?
    
asked Oct 6, 2015 by shikhar jain
0 votes
9 views



Related Hot Questions



Government Jobs Opening


...