note 111671 rejected from function.mb-convert-encoding by aharvey
| From: | aharvey@php.net | Date: | Thu, 14 Mar 2013 16:59:47 +0000 |
| Subject: | note 111671 rejected from function.mb-convert-encoding by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194074@lists.php.net to get a copy of this message | ||
Note Submitter: rameri dot web at gmail dot com
----
<?php
$str = "Text";
$str = mb_convert_encoding($str, "UTF-8", mb_detect_encoding($str));
echo mb_detect_encoding($str);
?>
This code is givin me "ASCII" as output. Why?