[php-src] Issue #8580: PHP 8.0 ascii iconv problem

From: Date: Thu, 19 May 2022 08:53:42 +0000
Subject: [php-src] Issue #8580: PHP 8.0 ascii iconv problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-241537@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8580 Author: Csaba27 ### Description The following code: ```php <?php $text = "àèìòùÀÈÌÒÙáéíóúýÁÉÍÓÚÝâêîôûÂÊÎÔÛãñõÃÑÕäëïöüÿÄËÏÖÜŸ"; var_dump(iconv("UTF-8", "ASCII//TRANSLIT//IGNORE", $text)); ``` Output ``` ~ # php8.0 iconv.php string(50) "??????????????????????????????????????????????????" ~ # php7.4 iconv.php string(50) "aeiouAEIOUaeiouyAEIOUYaeiouAEIOUanoANOaeiouyAEIOUY" ~ # php8.1 iconv.php string(50) "aeiouAEIOUaeiouyAEIOUYaeiouAEIOUanoANOaeiouyAEIOUY" ``` ### PHP Version PHP 8.0.x ### Operating System Ubuntu 20.04

« previous php.bugs (#241537) next »