Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85949 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33067 invoked from network); 24 Apr 2015 20:22:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2015 20:22:57 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.175 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:36957] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/F2-30584-026AA355 for ; Fri, 24 Apr 2015 16:22:56 -0400 Received: by widdi4 with SMTP id di4so32209490wid.0 for ; Fri, 24 Apr 2015 13:22:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3aznbsg0lFD7FQ2SUmhdGK4u5eZMZgv3b7svx0ZRZGg=; b=LSdJeGLvD2q5Qr7+S3imLv4urHMZcre0ZgagNY4pMtLm+U2hAhUHlWkxnPtbuT5wIO ui1eoc+xOCUnYVjZSjK78Eh0BEU4a/D5zxRNX8NWNOVT5fzkEA1MJiSAozihkPfhKn2D SBSj38dc/L635vyg8qV5YkLglL0SvcbefEkxhvOIHxY2BbeRz8EJKWR7XEJKTVmXPXz8 H+Hu/UK5XYQXH/D6bhgTrmlO8uuVOwYVfpkXnDqkSldIO1Ho342gJn+G6XQr8QpAkc9a 90et6zBa+oMGvQT2Gfk3mYUeqRQ9lzlzRiW1/mCpt2HUmbS37p+E0mT++nJ/g+DtS+1j lSXQ== MIME-Version: 1.0 X-Received: by 10.180.104.197 with SMTP id gg5mr6882134wib.27.1429906973225; Fri, 24 Apr 2015 13:22:53 -0700 (PDT) Received: by 10.27.86.133 with HTTP; Fri, 24 Apr 2015 13:22:53 -0700 (PDT) In-Reply-To: References: Date: Fri, 24 Apr 2015 22:22:53 +0200 Message-ID: To: Yasuo Ohgaki Cc: PHP internals Content-Type: multipart/alternative; boundary=f46d041825bc3375d605147e29ed Subject: Re: [PHP-DEV] Re: [VOTE] Remove deprecated functionality in PHP 7 From: nikita.ppv@gmail.com (Nikita Popov) --f46d041825bc3375d605147e29ed Content-Type: text/plain; charset=UTF-8 On Fri, Apr 24, 2015 at 10:11 PM, Yasuo Ohgaki wrote: > Hi Nikita, > > On Sat, Apr 25, 2015 at 1:44 AM, Nikita Popov > wrote: > >> All items mentioned in the RFC are removed now, excepting the >> mbstring/iconv encoding settings. I tried doing that, but it looks like the >> new encoding settings don't actually work. I also noticed that they were >> introduced under the names XYZ_encoding instead of php.XYZ_encoding, as the >> RFC says. > > > I'm not sure what do you mean by "I also noticed that they were > introduced under the names XYZ_encoding instead of php.XYZ_encoding, as the > RFC says." because > I cannot take a look at code now. > > Anyway, I have work in progress patch for it. However, I noticed that I > need > additional functions for iconv. > > http://php.net/manual/en/book.iconv.php > > iconv does not have functions set input/output/internal encoding for > temporary > purpose. e.g. To process external inputs that have encoding other than > global > setting. My work is stopped by this. > > Proper resolution for this would be introducing functions that set > input/output/internal > encoding for iconv. > > If nobody objects, I'll add these and finish my patch. > Maybe we should just keep the mbstring and iconv ini settings (and undeprecate them)? If we retain the ability to set a per-extension encoding, we may just as well allow setting it via ini setting instead of extra functions. I think dropping these only makes sense if we drop the ability to have mbstring-specific or iconv-specific encoding settings altogether. Nikita --f46d041825bc3375d605147e29ed--