note 96965 added to function.substr
| From: | lwjct at hotmail dot com | Date: | Thu, 25 Mar 2010 09:39:47 +0000 |
| Subject: | note 96965 added to function.substr | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-167378@lists.php.net to get a copy of this message | ||
It doesn't support Chinese characters under utf-8 so well.
with utf-8, each Chinese character counts with 3 in length.
with utf-16, each one counts as 2 in length.
----
Server IP: 69.147.83.197
Probable Submitter: 24.5.245.125
----
Manual Page -- http://www.php.net/manual/en/function.substr.php
Edit -- https://master.php.net/note/edit/96965
Del: integrated -- https://master.php.net/note/delete/96965/integrated
Del: useless -- https://master.php.net/note/delete/96965/useless
Del: bad code -- https://master.php.net/note/delete/96965/bad+code
Del: spam -- https://master.php.net/note/delete/96965/spam
Del: non-english -- https://master.php.net/note/delete/96965/non-english
Del: in docs -- https://master.php.net/note/delete/96965/in+docs
Del: other reasons-- https://master.php.net/note/delete/96965
Reject -- https://master.php.net/note/reject/96965
Search -- https://master.php.net/manage/user-notes.php