I finally got the solution. We will have to set our connection charset to utf8. After declaring connection variable set charset:
mysqli_set_charset($con,"utf8");
After that your emoji or any other unicode text will be encrypted and saved in mysql database.
Buymuş çözümü 
Türkçe Meali nedir acaaba