riya riya - 4 months ago 9
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

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.