[php-src] Issue #11102: Iconv is very locale dependent

From: Date: Wed, 19 Apr 2023 11:37:51 +0000
Subject: [php-src] Issue #11102: Iconv is very locale dependent
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-244232@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11102 Author: mvorisek ### Description repro: https://github.com/php/php-src/pull/9149/files Current CI output: ``` ========DIFF======== string(15) "Zlutoucky kun\n" 002- string(15) "Zlutoucky kun\n" 003- string(15) "Zlutoucky kun\n" 002+ string(15) "?lu?ou?k? k??\n" 003+ string(15) "?lu?ou?k? k??\n" ========DONE======== FAIL Test the basics to function iconv. [ext/iconv/tests/iconv_basic_001.phpt] ``` iconv is used in a lot of projects to strip diacritics or convert encodings. But as shown in the repro, a locale change can completely change the output. I consider this a bug and it would be great if the ground is investigated and iconv integration is made locale independent. ### PHP Version any ### Operating System any

« previous php.bugs (#244232) next »