Re: [PHP-DEV] mbstring/iconv encoding deprecation

2025-09-08 Thread Gina P. Banyard
Hello internals, After discussions with RMs the agreement is that the PR [1] can be merged if there is no objection within 1 week. I'll recapitulate some of the history behind that RFC and delay in implementation. The original RFC [2] was approved for PHP 5.6 and slated for removal in PHP 7. (

Re: [PHP-DEV] mbstring/iconv encoding deprecation

2025-09-07 Thread Gina P. Banyard
On Thursday, 4 September 2025 at 09:10, Andrey Andreev wrote: > Hi! > > All of these were vote-accepted for removal in PHP 7: > https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7#iconv_and_mbstring_encoding_ini_directives > But there was an unforseen issue that needed to be resolve

Re: [PHP-DEV] mbstring/iconv encoding deprecation

2025-09-06 Thread Rowan Tommins [IMSoP]
On 04/09/2025 07:44, Jorg Sowa wrote: + enigmatic "all functions that take encoding option use php.internal_encoding as default (e.g. htmlentities/mb_strlen/mb_regex/etc)" This is not very well worded, but I believe what it's saying is that a number of functions have an "encoding" parameter

Re: [PHP-DEV] mbstring/iconv encoding deprecation

2025-09-04 Thread Andrey Andreev
Hi! All of these were vote-accepted for removal in PHP 7: https://wiki.php.net/rfc/remove_deprecated_functionality_in_php7#iconv_and_mbstring_encoding_ini_directives But there was an unforseen issue that needed to be resolved before that can happen, and it apparently never got fixed. See this thre

[PHP-DEV] mbstring/iconv encoding deprecation

2025-09-03 Thread Jorg Sowa
Hello everyone, I'm writing regarding the deprecation of mbstring/iconv encoding that was voted on more than 10 years ago. RFC: https://wiki.php.net/rfc/default_encoding It was accepted that following INI settings were deprecated: "iconv.input_encoding (Default: php.input_encoding) iconv.internal