Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6471 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11778 invoked by uid 1010); 15 Dec 2003 15:20:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11659 invoked from network); 15 Dec 2003 15:20:47 -0000 Received: from unknown (HELO asuka.nerv) (24.112.18.98) by pb1.pair.com with SMTP; 15 Dec 2003 15:20:47 -0000 Received: (qmail 29516 invoked from network); 15 Dec 2003 10:16:02 -0000 Received: from rei.nerv (HELO dummy.com) (rei@192.168.1.1) by asuka.nerv with SMTP; 15 Dec 2003 10:16:02 -0000 Reply-To: ilia@prohost.org Organization: Prohost.org To: "Stig S. Bakken" , PHP Internals Date: Mon, 15 Dec 2003 10:32:28 -0500 User-Agent: KMail/1.5.4 References: <25BBBBC2-2CD2-11D8-8FCC-000A95CE0C62@at.wakwak.com> <200312131828.38053.ilia@prohost.org> <1071484672.1697.32.camel@kirin.dev.trd.p4pnet.net> In-Reply-To: <1071484672.1697.32.camel@kirin.dev.trd.p4pnet.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200312151032.28825.ilia@prohost.org> Subject: Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch) From: ilia@prohost.org (Ilia Alshanetsky) On December 15, 2003 05:37 am, Stig S. Bakken wrote: > 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? IMHO calling multibyte a hack would be great disservice to the developers of that extension. We don't call ext/pgsql a hack, simply because it's not builtin, do we? > 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. If you were designing a new language you wouldn't have legacy users who'd suffer (significantly) because of features added for other users. Ilia