Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95168 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3270 invoked from network); 15 Aug 2016 03:44:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2016 03:44:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=david.proweb@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=david.proweb@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.176 as permitted sender) X-PHP-List-Original-Sender: david.proweb@gmail.com X-Host-Fingerprint: 209.85.220.176 mail-qk0-f176.google.com Received: from [209.85.220.176] ([209.85.220.176:34359] helo=mail-qk0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A3/C9-36656-CAA31B75 for ; Sun, 14 Aug 2016 23:44:44 -0400 Received: by mail-qk0-f176.google.com with SMTP id f123so34136231qkd.1 for ; Sun, 14 Aug 2016 20:44:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VV53luW2tJOkLyCuMxRnoLza68eLa4vIgdpfPlbTy2M=; b=vVxYAztQU9tHg2tunRTFAAAXfHycOR1BePTSG6JLGZy4W0h8QShuURn6eZqWUqFjj5 +ugFZ1AsFOjWJdhWp7w6m/t0bKGGMmjmhcQR7z5wtqEBLZ1uDA4yasl6AHcV2Q0Rygvd /m+PJ3E6dbFuwuDstOsz6oanlaA9WxFKunszUiooaLbPy09R/q816+x1oAtcDnmNUne9 HkGWL7G8GuVrv2joH9EJPGFCnVkrkU5jEB4O8xhau2MCfwV4IsiTlWk2GYmv2ynNFGZX evh8C7Zbp8Z8uVpdvRZdgH568H8nG6NBzD6bJvVr5yIHXfytuymdTpYGfWn1StPQPNks c1aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VV53luW2tJOkLyCuMxRnoLza68eLa4vIgdpfPlbTy2M=; b=RaFvEQ9FVPQYn1jZriUS64KvOBMT/fkLY3IjABBD5c/nso0ZdSzzwe3gVKAU8VtxN1 SiWhrwtNh/IKEBn3qlJd8o6ZdiStvJYNONUmde80L9aWyJsGh9EpxADs9KQGKnccs6w3 yEHYGFp4rV5vyn9bC7A8020uqUA9U7GwN+QPTbFDtOug7+zH0612O3XZcJdlWJ/fbROq 60ZQ8fJOtpWtaiXeRvlOsxI0JAm0Yk5zAlEKMM3IrV3W4SEvbLuiDLVAkvs6SvGlErh6 nPUZsME0VS33KWASAB4jll94292jSXK6yep93X69Wnw4NM8IxYTLvuX5f4czM7kv37eI yk8A== X-Gm-Message-State: AEkoousuEIj9OvvrGVtAVi/SgvIaBj4D5DVdAgXi1lnBPq517m1iQFS0XbBdo5156rHnKQYLnNWlAiwFYh32oQ== X-Received: by 10.55.175.134 with SMTP id y128mr31282287qke.134.1471232681669; Sun, 14 Aug 2016 20:44:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.45.67 with HTTP; Sun, 14 Aug 2016 20:44:21 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Aug 2016 00:44:21 -0300 Message-ID: To: Yasuo Ohgaki Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode() From: david.proweb@gmail.com (David Rodrigues) On github utf8_encode have ~500.000 results and utf8_decode have ~400.000. I too guess that 7.2 shouldn't introduces a BC like that. Maybe on 8.0. Currently I guess that it is a good shortcut, but I really don't know if make senses to keep it (utf16 or others are not implemented, only utf8, for other side, utf8 seems to be more common). 2016-08-15 0:17 GMT-03:00 Yasuo Ohgaki : > Hi all, > > utf8_decode() and utf8_encode() are not needed and causing problems > than solving. > > https://wiki.php.net/rfc/remove_utf_8_decode_encode > > Proposal > - Document deprecation them now > - Remove them from 7.2 > > I think only few users are using and they shouldn't have problem using > mbstring/iconv/intl functions. > > Any comments? > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- David Rodrigues