Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101556 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30545 invoked from network); 5 Jan 2018 16:33:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2018 16:33:40 -0000 Authentication-Results: pb1.pair.com header.from=weltling@outlook.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=weltling@outlook.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain outlook.de designates 40.92.64.71 as permitted sender) X-PHP-List-Original-Sender: weltling@outlook.de X-Host-Fingerprint: 40.92.64.71 mail-oln040092064071.outbound.protection.outlook.com Received: from [40.92.64.71] ([40.92.64.71:34640] helo=EUR01-DB5-obe.outbound.protection.outlook.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/DC-45945-FD8AF4A5 for ; Fri, 05 Jan 2018 11:33:37 -0500 Received: from HE1EUR01FT023.eop-EUR01.prod.protection.outlook.com (10.152.0.58) by HE1EUR01HT223.eop-EUR01.prod.protection.outlook.com (10.152.1.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.20.345.12; Fri, 5 Jan 2018 16:33:32 +0000 Received: from LO2P265MB0253.GBRP265.PROD.OUTLOOK.COM (10.152.0.55) by HE1EUR01FT023.mail.protection.outlook.com (10.152.0.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.20.345.12 via Frontend Transport; Fri, 5 Jan 2018 16:33:31 +0000 Received: from LO2P265MB0253.GBRP265.PROD.OUTLOOK.COM ([fe80::ddbb:8b49:3c80:aa9e]) by LO2P265MB0253.GBRP265.PROD.OUTLOOK.COM ([fe80::ddbb:8b49:3c80:aa9e%13]) with mapi id 15.20.0386.006; Fri, 5 Jan 2018 16:33:32 +0000 To: Jan Ehrhardt , "internals@lists.php.net" Thread-Topic: [PHP-DEV] Re: PHP 7.1.13 and 7.2.1 Available Thread-Index: AQHThf4B2+QSzyWtek+Dx93luXUUaaNk+ILGgABQlICAAASgVYAAECuAgAAHmvaAAA3C0A== Sender: Anatol Belski Date: Fri, 5 Jan 2018 16:33:31 +0000 Message-ID: References: <7f8723a9-1ddc-47ea-8fd1-bc2a14a137c7@gmx.de> In-Reply-To: Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=a-anbel@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-01-05T16:33:28.5745789Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General x-incomingtopheadermarker: OriginalChecksum:1B7691356EB05759BD310100FD17CD68F765A64AC6EA83D3B50F5D30FE5504EF;UpperCasedChecksum:6217711E4C11ABDBAD78CFAAAF3DAD8D5E389A1EE830A9EFD4C7C2BB85FD6FB1;SizeAsReceived:8198;Count:48 x-ms-exchange-messagesentrepresentingtype: 2 x-tmn: [9uxOn9v19jGYmiqRHvhi1gI2KtvP+F713tcmfrgEBVtOTDgYkgwaqW3cckS0C6E6N9PWlf4Zz+A=] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;HE1EUR01HT223;6:nFVLk6C8xUH4VhDV1P47nXXPX7OXK0WhGnbiiPplnRv+09dy4lAp/E+xAfRCU5SqJJ9bQMMA7mh/w3oy/3bilVtQROTr921U0qXmpzKYz/QJeVguo0dHBJYzAS1/IrgSu4CLFOJ4K8IZgYvfZHqsIEsuwn+M8uDm7VpQlggSXTLNlFrlR9pAsWn5/N6B3Yd/uIIA3bHFynoPqNqH11U9usY9HfG+N+P4yjf4DVTs+7/JsvhqBmhpN6P2deLJedwiDgt1MkvqV/3XWEntdnFT633tvZqq5dnoroO0LtFnUd2zjcAZm9Eoa/sWQ4VJ6V6xkWb0pDj5MhR4gDQHmPL8hxJ+1sl6uMcJGiQA+TMw8QE=;5:mEUTd6d9DmxIgtc4qQgQYJbD/HVUwCvJRRPNM2lyIjQuCbkqHnbgtFlwW159zkg8GtGFqrQtTfzwtxOg3qJJ2ynEn2f5ZR6zrFW41AIY2/Cp2pyGTWbj/jWVL8L8oOd0XeK04LdRBa0l3SioPppb4X/kVm2XpGR71fcBYsj9vR8=;24:XP1biLICWW8MqLWp/t0KsTXsSm0kfiAdUtum/moykNzyzWF0x+22sNzWYgPx0NRGCIPrlVVK1azKm4CXjN7+kvjQVoYZ/SjAM56YSjUFO2w=;7:vQmlgKg5bN3BToWVVRnScy13vgWcoNqYjdNGwVRPG/DQcVGQkMP7/lBG90j0CB/p6AZ5iuFH4BVMRKXudDm5vmSSqwIUFYF1u5z1WvD1vmZiFF8Qwkw1w6Py3huMKosEO+SqVRmDaY7Yd5XxddExT+TJbW3vYNBRs8I5d3uEoioZVS/DKNY0J3rw3lt2u0El9jmQubW1Qe55FIn+YZL6xx8BF01fvSstJIEuU+1L0lD0KSq+qHQnfw7dqRt8N4yl x-incomingheadercount: 48 x-eopattributedmessage: 0 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322404)(1603101448)(1601125374)(1701031045);SRVR:HE1EUR01HT223; x-ms-traffictypediagnostic: HE1EUR01HT223: x-ms-office365-filtering-correlation-id: fca180b0-6820-4562-7b29-08d5545a0f1f x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(444000031);SRVR:HE1EUR01HT223;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:HE1EUR01HT223; x-forefront-prvs: 05437568AA x-forefront-antispam-report: SFV:NSPM;SFS:(7070007)(98901004);DIR:OUT;SFP:1901;SCL:1;SRVR:HE1EUR01HT223;H:LO2P265MB0253.GBRP265.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fca180b0-6820-4562-7b29-08d5545a0f1f X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jan 2018 16:33:31.9679 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT223 Subject: RE: [PHP-DEV] Re: PHP 7.1.13 and 7.2.1 Available From: ab@php.net (Anatol Belski) > -----Original Message----- > From: Jan Ehrhardt [mailto:phpdev@ehrhardt.nl] > Sent: Friday, January 5, 2018 4:20 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] Re: PHP 7.1.13 and 7.2.1 Available >=20 > Hi Chris, >=20 > "Christoph M. Becker" in php.internals (Fri, 5 Jan 2018 15:53:23 +0100): > >On 05.01.2018 at 14:55, Jan Ehrhardt wrote: > > > >>>> The main reason why I prefer the github zips over the zips at > >>>> http://windows.php.net/download/ is some kind of mismatch in the > >>>> UTF-8 > >>>> filenames: > >> > >> N:\php-sdk\win32sdk2 > >> $ unzip -h > >> UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. > >> Send bug reports using http://www.info-zip.org/zip-bug.html; see READM= E > for details. > > > >From the release notes[1]: > > > >| Support for UTF-8 encoded entry names, both through PKWARE's "General > >| Purpose Flags Bit 11" indicator and Info-ZIP's new "up" unicode path > >| extra field. (Currently, on Windows the UTF-8 handling is limited to > >| the character subset contained in the configured non-unicode "system > >| code page".) > > > >So this might be a codepage issue. >=20 > The warnings do not occur when processing the zips from > https://github.com/php/php-src/releases so we know it must be possible to > produce zip-files with Unicode filenames without mismatch. Big question i= s: > how? >=20 I see the warnings now, however the file is unpacked correctly. Strange eno= ugh. Chistoph's finding might be the cause of these warnings. But if unzip = can only translate UTF-8 to the current codepage, it would mean actually an= y CJK filenames would be broken, which they're not. Plus, MSYS2 is actually= a Linux port, so there can be issues in this regard , too. I'd rather say unzip should not be used in this case as it inherently docum= ents not a fully compatible behavior, but seems to work in the end. The bin= ary tools also supply 7za which has decent support for other formats. Perha= ps it would make sense to check whether 7z should be used to produce zips. = I recall that we had some issues when use older MSYS2 tools. Unzip was adde= d there for convenience with the old SDK and because it's used also by seve= ral other scenarios, eq . PECL build hosts. Regards Anatol