Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103087 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75817 invoked from network); 12 Aug 2018 17:00:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2018 17:00:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.18 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.18 mout.gmx.net Received: from [212.227.15.18] ([212.227.15.18:34929] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/36-32660-097607B5 for ; Sun, 12 Aug 2018 13:00:04 -0400 Received: from [192.168.2.102] ([87.167.201.185]) by mail.gmx.com (mrgmx002 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MZCUG-1faXC51ud2-00KyHE for ; Sun, 12 Aug 2018 18:59:57 +0200 To: PHP internals Message-ID: <41b344e5-51ed-4e81-f6a4-b4f2748fb17e@gmx.de> Date: Sun, 12 Aug 2018 19:00:02 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:B8xMFZRD7146wbb7UsNMruzsdx3tHOWQsGfNh+/XMnL5sijFubn 437+dI5Lfc2rrlnpftHQkwO1Vm4fOJO8qPAnaqVWNaijiYsnndelLdQVRM+acLS0GSPdauh ohqZZrH3kSNvkpnFGRLTULiRzrTp6TBtFTO8vD2q7RuoSL2gk94TQs604O3su0HQkvTJmhk QzRUjD2DWVco8GwY4e+sA== X-UI-Out-Filterresults: notjunk:1;V01:K0:DIbTjAJpWb8=:c0muHWRfgQ+1gaSCJfpuNK nP5/+0CbbHlGQXqlvUp8CEdUNKQ/rC5RkfskCnAijt+NbmXjc0rEpwaDQleR/9LSXhXx7ErSh FP41++2xEyxy4EwMOEZND6EX+kaKr2mFn5G8O6eXdUhvxdli7zIq3Mn0dAocRdCHIFl5Q5tnc UjDmLuSMgukkzTOYY8hQ0lt0PN9K6y1x7em8BKLJ93E0Q2mypPcRn9bPZFYHNrRWO/J4GyTfM nQTMe0AtZHuaprHdncF+gUlZY6HWS3BNmuNU3M56/+zswW8ApcZHhg7PcC884ysmzVx/l6Oz8 BHkinuwRuVxwoOYt9mhxvjPSnkiBzE8bYsswxbC11X+gK0aAfx4EwrmUZpegeXiP1wvIa+HLO 1e389XYbKUQi5VG9ZNE7kq3o/HEdwtKm7XUAh2OGI9L3cRO/p2R5cbNI4wq9HZPK6Ey6Sx/XT VYoJYRRG+fvSRGPn3kQ058s8m9WD+pY2pQmA4Y1udD6eHA/Ex/qdIW0FVhWQlWxZiucLbWsf2 vM9bWnBRKN9GlDyj5m1fxBVHpq0gwPGn+PwLJpGg1VHE67iq8/E6IFGzgAzNZkR+y8D6wfz9U FJqWkj+Mdi5OEs24j0GCAzaHZjEOhYqX8FEl10pX5I72AlmUalMkYBt3/KkouBxJTH+kW0O0C fpH6aJg3Ad8v/wG21byYujljvT3tQlPiASrQBAE2RHbI7ScNW8IxP7sveJzOc1ZsnneWQCaUD GGcZQ++WnEJxfGhux3+tPd9/3Lm6Me0a2G2s8vXU5nO+8D35GzttYf0W8BYwXtdj/jIaxEcyb aV3icnl Subject: =?UTF-8?Q?default=5fencoding_RFC_=e2=80=93_aftermath?= From: cmbecker69@gmx.de ("Christoph M. Becker") Hi! Quite a while ago we have accepted the “Use default_charset As Default Character Encoding” RFC[1], which also contains the clause “Old iconv.*/mbstring.* php.ini parameters will be removed for master PHP6” (obviously that was written before we decided to skip PHP 6, and as such would have to be applied to PHP 7). I'm quite happy, though, that this hasn't happened yet, since it seems that the encoding names may be different between the extensions. At least the php.net manual states[2]: | Some systems (like IBM AIX) use "ISO8859-1" instead of "ISO-8859-1" so | this value has to be used in configuration options and function | parameters. It appears to be worthwhile to review the deprecation of the respective iconv.* ini options. Not quite sure about the mbstring.* ini options. Also, if we stick with the deprecation of the iconv.* ini settings, we also should deprecate iconv_set_encoding(), which currently changes the deprecated iconv.* ini options, and as such throws a deprecation warning. However, if the ini options would be removed, what should the function do? Nothing? Change the php.*_encoding settings. In my opinion, both would be rather confusing. iconv_get_encoding() has a similar, albeit minor, issue. [1] [2] -- Christoph M. Becker