riya riya - 1 year ago 67
PHP Question

How to add Devanagari text?? it will not display in proper format on some page

I want to add Devanagari text in database but its not display in proper format
it will display '?'. How to stored in database. How to display it
I am already using following code

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

Answer Source

You will need to set Collation as utf8_unicode_ci for files in which you are saving that information.

Please refer enter image description here

By this it will store data as you will Insert.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download