Convert Special Characters to Unicode With PHP


Hello Friends, today I will tell you through this tutorial how you can convert special characters to unicode by php. So lets go.You can convert special characters to unicode with the function of php very easily. json_encode is the inbuilt function of php. You can convert special characters to unicode by this function. How this function will be used.Example of this is explained to you below.file.php
<?php$string = "I am experts Tools developer";print_r(json_encode($string));output////"I am expert\u2019s Tools developer"?>