PHP encoding problem [UTF-8] : Urgent ,Please help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sanjeevk
Forum Newbie
Posts: 3
Joined: Sun Mar 18, 2007 10:43 pm

PHP encoding problem [UTF-8] : Urgent ,Please help

Post by sanjeevk »

Hi everyone

I had a site running in two llanguages. For this to support multi language i had made my mysql database in UTF-8 format . Similarly i have inclluded <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">.
Now i have problems with the meta tags and static javascript.
example for
<meta name="description" content="L'annuaire des forums francophones sur le Php et création de forums à la demande">
i have used
<meta name="description" content="L'annuaire des forums francophones sur le Php et cr&eacute;ation de forums &agrave; la demande">
[Please note création is written as cr&eacute;ation]
to support the UTF-8. But the problem is it is not working well . In the site when i see the view source the contents i get is
<meta name="description" content="L'annuaire des forums francophones sur le Php et cr&eacute;ation de forums &agrave; la demande">
But the case is i need it to be displayed as
<meta name="description" content="L'annuaire des forums francophones sur le Php et création de forums à la demande">
Please anyone can help me solve this problem . My site is Live and i have problem . Please help.
Post Reply