Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6463 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16186 invoked by uid 1010); 15 Dec 2003 10:38:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16129 invoked from network); 15 Dec 2003 10:38:00 -0000 Received: from unknown (HELO kirin.dev.trd.p4pnet.net) (217.144.236.4) by pb1.pair.com with SMTP; 15 Dec 2003 10:38:00 -0000 Received: from kirin.dev.trd.p4pnet.net (kirin.dev.trd.p4pnet.net [127.0.0.1]) by kirin.dev.trd.p4pnet.net (8.12.8/8.12.5) with ESMTP id hBFAbrj0002089; Mon, 15 Dec 2003 11:37:53 +0100 Received: (from ssb@localhost) by kirin.dev.trd.p4pnet.net (8.12.8/8.12.8/Submit) id hBFAbrLg002087; Mon, 15 Dec 2003 11:37:53 +0100 To: ilia@prohost.org Cc: Moriyoshi Koizumi , PHP Internals In-Reply-To: <200312131828.38053.ilia@prohost.org> References: <25BBBBC2-2CD2-11D8-8FCC-000A95CE0C62@at.wakwak.com> <200312131733.57805.ilia@prohost.org> <08B5D122-2DBF-11D8-B836-000A95CE0C62@at.wakwak.com> <200312131828.38053.ilia@prohost.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Overture Services Norway Message-ID: <1071484672.1697.32.camel@kirin.dev.trd.p4pnet.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Mon, 15 Dec 2003 11:37:52 +0100 Subject: Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch) From: Stig.Bakken@overture.com ("Stig S. Bakken") On Sun, 2003-12-14 at 00:28, Ilia Alshanetsky wrote: > On December 13, 2003 05:52 pm, Moriyoshi Koizumi wrote: > > I haven't denied it. That said, multibyte facility is not so fancy > > as XML, but quite essential so as to enable most applications to work > > well under every environment. > > Bullshit. Only application that need to support multibyte strings need the > multibyte facility. > > > Let's stop doing such a stupid thing any more. As I pointed out already, > > having different versions for each function doesn't solve problems at > > all. > > It sure does, those who need to slower (multibyte) version use that and those > who don't use the standard version which works nice and fast for > non-multibyte strings. So you think the right solution is to dismiss multibyte users and direct them to the hacks (mbstring etc) that have been used previously instead of thinking ahead? If I were starting a language from scratch today, I would make character encoding part of the string "zval" structure. IMHO that's where it belongs. As an alternative for PHP 5[.1], there is room for a "multibyte bit" in the zval that various functions can use to choose between "sizeof(byte)==sizeof(char)" and "sizeof(byte) < sizeof(char)" implementations. - Stig