[php-src] Issue #9783: UTF-8 Sign are not rendered correctly
| From: | EBICRMERP | Date: | Thu, 20 Oct 2022 10:21:56 +0000 |
| Subject: | [php-src] Issue #9783: UTF-8 Sign are not rendered correctly | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-242634@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/9783
Author: EBICRMERP
### Description
last utf-8 char are not rendered correctly by using, utf8_decode and substr
example
Not Ok
substr(utf8_decode("èàöääè"),0,4);
Ok
utf8_decode(substr("èàöääè",0,4));
### PHP Version
PHP 7.2
### Operating System
Ubuntu 19.05