Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103089 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87296 invoked from network); 12 Aug 2018 21:11:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2018 21:11:10 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.15.15 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.15.15 mout.gmx.net Received: from [212.227.15.15] ([212.227.15.15:55659] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/77-32660-B62A07B5 for ; Sun, 12 Aug 2018 17:11:10 -0400 Received: from [192.168.2.102] ([87.167.201.185]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0M5uLh-1g4aqq2SQj-00xras; Sun, 12 Aug 2018 23:11:01 +0200 To: Andrea Faulds , internals@lists.php.net References: <41b344e5-51ed-4e81-f6a4-b4f2748fb17e@gmx.de> <47.96.32660.815707B5@pb1.pair.com> Message-ID: Date: Sun, 12 Aug 2018 23:11:01 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <47.96.32660.815707B5@pb1.pair.com> Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:CmO8xqnjt0Bbsagv1HLEHiNPZj3BIVRPW93Gvm829AbmsR5Rs5t /amdPI++VjT8ifoqCXICsmi4Vgo6iaBbyUHjjHLlOkfk1xrT558fZ6KyiVxwZ5OEbiOErQK S3Gl51qQdNWea0GJZ/2TLYLUsBJlUwSqhx40AtNbs7rG3Ua/PufvW7CKItNZUTEoVO25zia wffGjeVo/cxR3EOFGq/rg== X-UI-Out-Filterresults: notjunk:1;V01:K0:fva1IKomgMg=:4EQEk4fzksMn/Y1X6y4Kwe aCdnszCXshm7IYN2QMa+XySHatNsURinxDLTH0JjSotOfszjgnc1CyYsQOuq6WtDOgOwqtoUM 87W0Z+IybScuVYZ3ozyrMM2vzmEE2d5zfai0EkpiIUlavL4v1F8Sjkp5dzla3048u1ih+FEDD yLYSc6ljcdlZCadWCNh/udINAUZUpsc6t9E54plFoih5U1f+0ewj5WounN3a+2ZR5EWwjMTeD wdkaJDSRuNgJk3q16E+tePBwR1fPWADAP+StwfHefu06OmvzP/2l/gMMXYErD32dZ22xjhiXl IBEjnd4or1/0ZPYeUI0HvdCo7jEs05vp8iWGDJBEDDQHMwJKoerfHNMOZfume8fvuNJxF1b1d pViijjx1ZfGueJuYRsUhh2iRjg5lCZXP2qk+cfjh5BlLBGvgdqNgeea1fhv9bTZNfrOv0lwFD dIlvjxbx8TwGj1Xde8vSZtOBk5MwF9y7YOf2YFKrt7DbonT5EmQSh+IVEX++EDDWRTZ3EZD6E pKlukykX+1x3ex/miCAMxSKdCez/PNyDCpzXKuRqyfS7ZS3l0KePIHPLE+I+A5Ak7ZLh0TYDg Ekiy3rjDHqLhbTJrEONMUwDuYWmEBoypLRkqU7V7J3cLrvt0DhkiNFHkCeAWHufabWxOmqHIj WlJQvNJnecSv/KhqxutD50KSJNSK3f3eWA+jEZU1sDBgU73T6nB+CFH8Ehc4dXXdGCZ1ft6Np VuRBfGPXO4/EkERO++ml2ih0UvZFNw1r6qACW5IsdVWy+aRbk1AGE8Z4C0qaPzg7A32l+FMgl vRA9LLh Subject: =?UTF-8?Q?Re=3a_default=5fencoding_RFC_=e2=80=93_aftermath?= From: cmbecker69@gmx.de ("Christoph M. Becker") Hi Andrea! On 12.08.2018 at 19:57, Andrea Faulds wrote: > Christoph M. Becker wrote: > >> 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. > > Could this not be solved by making all the extensions support all the > encoding name aliases or so? That wouldn't be difficult to implement and > wouldn't break anything. I think that would only be possible, if we knew how they have to be mapped. Consider the AIX example above; I'm not even sure if this is (still) valid, but should we have special maps for AIX? Should we try to detect this during configuration? I'm not sure if that's even reliably possible, since some iconv implementations (which ones?) do not support errno[1], so we can't detect whether iconv_open() failed with EINVAL, or some other error. As it is now, it's simply up to the user to pass a supported encoding name. [1] -- Christoph M. Becker