note 111867 added to function.mb-convert-encoding
| From: | zkizzik at gmail dot com | Date: | Fri, 05 Apr 2013 20:01:47 +0000 |
| Subject: | note 111867 added to function.mb-convert-encoding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194359@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.199
Probable Submitter: 200.1.174.4
----
Manual Page -- http://php.net/manual/en/function.mb-convert-encoding.php
Edit -- https://master.php.net/note/edit/111867
Del: integrated -- https://master.php.net/note/delete/111867/integrated
Del: useless -- https://master.php.net/note/delete/111867/useless
Del: bad code -- https://master.php.net/note/delete/111867/bad+code
Del: spam -- https://master.php.net/note/delete/111867/spam
Del: non-english -- https://master.php.net/note/delete/111867/non-english
Del: in docs -- https://master.php.net/note/delete/111867/in+docs
Del: other reasons-- https://master.php.net/note/delete/111867
Reject -- https://master.php.net/note/reject/111867
Search -- https://master.php.net/manage/user-notes.php