I have this code in php to read the length of a string in utf-8,
<?php
header("Content-Type: text/html; charset=utf-8");
$a = "தமிள்";
$c = strlen(utf8_decode($a));
echo "The string input: ".$a." and its length:".$c;
?>
But it returns out put as : The string input: தமிள் and its length:5
Now I want to have the out put as 3 but not as 5, how to achieve that?
Thanks & Regards
Rahimanuddin Shaik
నాని
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc