Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71215 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48566 invoked from network); 17 Jan 2014 22:11:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jan 2014 22:11:14 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.48 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.48 mail-la0-f48.google.com Received: from [209.85.215.48] ([209.85.215.48:42797] helo=mail-la0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/C1-39935-F7AA9D25 for ; Fri, 17 Jan 2014 17:11:13 -0500 Received: by mail-la0-f48.google.com with SMTP id er20so4040930lab.35 for ; Fri, 17 Jan 2014 14:11:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=qbQx9z6chp3div/9u+iRBZO/2J30ibDjRSkarASDfHg=; b=OgxPqbHviNWOAF57QjcuO+Hew66fg+PJ2FfCF8a++0w+fLMHlLZsCHf2V/u+IJaBMq o+Sr3XXloX2gWtmLNKzVyI0qBbCBjyeoSeA5K4aJz4RNAkzD3KNU6M0Wb9JV204S9BeW 4zb63TNQ+k5L9MLy098nFowllMjWGo7ceCYpD9Fk+dX8Gpee6j5u8dD1ytkX+GfcdaGM D5n86+SB33KY0uqdawlyZF59vL6MMvz63h4i8GRXuQzLg+6iUIKf26zZjTrNECGqtYJ4 0Tsjny/lOZ7mnPPWrCSvg/V+MqRnSvuFPvwzMDgek3W38G/8gpQriFM1b+j58Pp04gAp X+JQ== X-Received: by 10.112.139.72 with SMTP id qw8mr2196877lbb.16.1389996667530; Fri, 17 Jan 2014 14:11:07 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.6.68 with HTTP; Fri, 17 Jan 2014 14:10:27 -0800 (PST) In-Reply-To: References: <1389976678.2057.8.camel@smugmug> Date: Sat, 18 Jan 2014 07:10:27 +0900 X-Google-Sender-Auth: y_AxUMR9-U24z9Y-wqZEpPAD14Y Message-ID: To: Julien Pauli Cc: Mike , Nikita Popov , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=089e0112c1ba9b73c504f031d1af Subject: Re: [PHP-DEV] [RFC] Multibyte char handling From: yohgaki@ohgaki.net (Yasuo Ohgaki) --089e0112c1ba9b73c504f031d1af Content-Type: text/plain; charset=UTF-8 Hi Julien, On Sat, Jan 18, 2014 at 6:50 AM, Julien Pauli wrote: > On Fri, Jan 17, 2014 at 10:34 PM, Yasuo Ohgaki wrote: > > Hi all, > > > > On Sat, Jan 18, 2014 at 5:06 AM, Julien Pauli wrote: > >> > >> Like everybody, I' absolutely against adding an "encoding" parameter > >> to ext/standard functions or relying on unreliable system locale. > >> Like Nikita says, every multibyte function should go to ext/mbstring , > >> and nowhere else, please , do not turn PHP into something even more > >> dirty as it is nowadays :-p > >> > >> I'm +1 to embed and activate mbstring by default in future PHP releases. > >> However, this has already been discussed (from what I remember) and I > >> dont remember why we ended with a "no" end-word, could we be refreshed > >> about this ? > >> > >> I'm not in favor of magic things. Magically replacing PHP strings by > >> mb_ implementation is a really bad idea. We should keep the INI > >> parameter about this alive though (mbstring.func_overload), so that > >> people that explicitely want to activate such a magic can do it if > >> they want to. > >> > >> I'm +1 also to start a "serious" (hum) discussion about multibyte/PHP6 > >> , we've been saying this for years : we need native support of unicode > >> in PHP :-p The actual problem we are facing once again shows this. > > > > > > It seem this is the majority excluding INI usage. > > I updated the RFC to reflect this. > > > > https://wiki.php.net/rfc/multibyte_char_handling > > > > - Compile mbstring by default from 5.6 > > - Add mb_*() functions for 5.3 and up > > - Keep ext/standard function as it is now > > > > Open Issue > > - Use of INI for overriding single byte string functions by mbstring > > functions. > > Why is that an issue ? > We just leave it as-is , or ? Some users are annoyed by sloppy multilingual implementations using this option. There is feature request from user who want to remove mbstring.func_overload INI option. https://bugs.php.net/bug.php?id=65785 We may extend or drop this feature. I neutral for this. Regards. -- Yasuo Ohgaki yohgaki@ohgaki.net --089e0112c1ba9b73c504f031d1af--