Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6389 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 65828 invoked by uid 1010); 13 Dec 2003 01:01:50 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 65754 invoked from network); 13 Dec 2003 01:01:49 -0000 Received: from unknown (HELO vckyb1.nw.wakwak.com) (211.9.230.144) by pb1.pair.com with SMTP; 13 Dec 2003 01:01:49 -0000 Received: from at.wakwak.com (at.wakwak.com [211.9.230.135]) by vckyb1.nw.wakwak.com (Postfix) with ESMTP id A82F33FEB7; Sat, 13 Dec 2003 10:01:48 +0900 (JST) Received: from [192.168.0.130] (z152.218-225-128.ppp.wakwak.ne.jp [218.225.128.152]) by at.wakwak.com (8.12.10/8.12.10/2003-09-30) with ESMTP/inet id hBD11mng011705; Sat, 13 Dec 2003 10:01:48 +0900 (JST) (envelope-from moriyoshi@at.wakwak.com) In-Reply-To: <200312121956.43562.ilia@prohost.org> References: <25BBBBC2-2CD2-11D8-8FCC-000A95CE0C62@at.wakwak.com> <200312121509.19291.ilia@prohost.org> <200312121956.43562.ilia@prohost.org> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-ID: Content-Transfer-Encoding: 7bit Cc: PHP Internals Date: Sat, 13 Dec 2003 10:01:38 +0900 To: ilia@prohost.org X-Mailer: Apple Mail (2.606) Subject: Re: [PHP-DEV] Re: Regarding the latest patch on fgetcsv() (stable branch) From: moriyoshi@at.wakwak.com (Moriyoshi Koizumi) On 2003/12/13, at 9:56, Ilia Alshanetsky wrote: > On December 12, 2003 03:15 pm, Moriyoshi Koizumi wrote: >> If we limited the support to UTF-8 or EUC encoding only, we'd be >> able to drastically gain much better performance. But it won't >> actually solve practical problems where it is in action. > > Could iconv stream filters be used to convert various encoding (if > needed) to > UTF-8 thus addressing the problem? Actually it might do, but doing so leads to great overheads, because you have to reconvert the strings to restore the initial form. Besides the conversion is sometimes irreversible. And even it wouldn't make sense unless iconv extension becomes built-in. Moriyoshi