Here is a nice code to detect utf-8
<http://in2.php.net/utf8_encode#399 86> But, I couldn't find out the
logic behind the script. If anyone knows that please share.
Particularly I would like to detect other encodings too. So, I would
like to know the logic.
For example these texts are in TSCII encoding (for Tamil):
Žì¸õ. þà ¾Ã¢Æ¢ø ¯ûÇ Åâ. þ¨¾ ¯Ã¸Ç¡ø ÀÊì¸ ÓÊ󾡸, ¯Ã¸û ¯Ä¡Å¢Â¢à ¸ ±ó¾
Å¢¾ áüÈò¨¾à ”õ ¦ºöÂò §¾¨Å þø¨Ä. ¦¾¡¼÷óà þó¾ þ¨½Âò ¾Çò¾¢ø ǬÃó¾¢Õà ¬ÃŒÃµ
¾Ã¢úô Àì¸Ã¸¨Çà ² ¾¨¼Â¢ýÈ ¢Ã´ ÀÊì¸Ä¡õ.
Any ideas? TIA.
--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
<http://in2.php.net/utf8_encode#399 86> But, I couldn't find out the
logic behind the script. If anyone knows that please share.
Particularly I would like to detect other encodings too. So, I would
like to know the logic.
For example these texts are in TSCII encoding (for Tamil):
Žì¸õ. þà ¾Ã¢Æ¢ø ¯ûÇ Åâ. þ¨¾ ¯Ã¸Ç¡ø ÀÊì¸ ÓÊ󾡸, ¯Ã¸û ¯Ä¡Å¢Â¢à ¸ ±ó¾
Å¢¾ áüÈò¨¾à ”õ ¦ºöÂò §¾¨Å þø¨Ä. ¦¾¡¼÷óà þó¾ þ¨½Âò ¾Çò¾¢ø ǬÃó¾¢Õà ¬ÃŒÃµ
¾Ã¢úô Àì¸Ã¸¨Çà ² ¾¨¼Â¢ýÈ ¢Ã´ ÀÊì¸Ä¡õ.
Any ideas? TIA.
--
| Just another PHP saint |
Email: rrjanbiah-at-Y!com
Comment