I want to store UTF8 in database. I have data in Unicode Hindi and I want to store in MySQL database using php after converting it to HTML character sets. let's say someone enters a bullet (•) character into a text box. When saving that data, should it be converted to •
.
Suppose I have data मेरा भारत महान
I want to store it in database by converting it to html character. How can I do that? I tried to use htmlentities function but that doesn't work satisfactorily for me.