add mysql_query("SET NAMES 'utf8'");
right after the line mysql_select_db()... it works fine.

-----
www.Meronepalma.com



On May 9, 9:51 am, Bishwo <[EMAIL PROTECTED]> wrote:
> I am PHP programmer and i am using MYSQL as backend. I am currently
> developing a web portal on nepal unicode but i am facing a problem. i
> have created a database with following details
>
> MySQL charset:  UTF-8 Unicode (utf8)
> MySQL connection collation: utf8_unicode_ci
> collation: utf8_general_ci
>
> i have also placed this meta tag in the php page
>
> <meta http-equiv=Content-Type content=text/html iso-8859->
> <meta http-equiv=Content-Type content=text/html charset=utf-8>
>
> PROBLEM I have faced is
>
> I get nepali unicode output when i browse the records from PHPMYADMIN,
> but from the PHP page i have created i get something like this
> "???????????".
>
> Could you please help me in this. I will be very thankful.
--~--~---------~--~----~------------~-------~--~----~
FOSS Nepal mailing list: [email protected]
http://groups.google.com/group/foss-nepal
To unsubscribe, e-mail: [EMAIL PROTECTED]

Community website: http://www.fossnepal.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to