|
Posted by Matthew White on 07/18/07 00:29
I tried the iconv, both for internal and external, but to no avail. I also
added in the mysql_query that set UTF-8, and I have also set htmlentities
with the third argument of "utf-8". The output is still corrupted.
Matt
"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.tvmvq3jkqnv3q9@metallium...
> On Tue, 17 Jul 2007 20:31:56 +0200, Matthew White <mgw854@msn.com> wrote:
>
>> I added that query right after calling the database, and it now works
>> fine,
>> but here is a problem- "français" returns three matches:
>> français
>> française
>> françaises
>>
>> Why is "ç" being substituted for "ç", even when I pass each returned
>> string
>> through htmlentities()?
>
> Well, it's clearly not interpreted as UTF8 as it should be. Maybe use
> iconv to ensure all internal encoding is in utf8?
>
> http://www.php.net/iconv
> --
> Rik Wasmus
[Back to original message]
|