note 111867 rejected from function.mb-convert-encoding by aharvey
| From: | aharvey@php.net | Date: | Mon, 08 Apr 2013 01:26:45 +0000 |
| Subject: | note 111867 rejected from function.mb-convert-encoding by aharvey | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-194385@lists.php.net to get a copy of this message | ||
Note Submitter: zkizzik at gmail dot com
----
This dont work:
<?php
echo strlen(
mb_convert_encoding(
mb_convert_encoding(
"\x4D\x18\x63\x21\xC1\xA7\xF0\xF3\x54\xB2\x97\xE8\x91\x4A\xB2\x40", // 16 bytes
'UTF-16LE', 'UTF-8'
), 'UTF-8', 'UTF-16LE')
); // only 14 bytes?
?>
Loss 2 bytes.