Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25822 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74848 invoked by uid 1010); 25 Sep 2006 17:23:29 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 74833 invoked from network); 25 Sep 2006 17:23:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Sep 2006 17:23:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 82.94.239.5 cause and error) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from [82.94.239.5] ([82.94.239.5:33084] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6F/2C-24622-09018154 for ; Mon, 25 Sep 2006 13:23:29 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id k8PHNOV6019412; Mon, 25 Sep 2006 19:23:25 +0200 Date: Mon, 25 Sep 2006 19:23:05 +0200 (CEST) X-X-Sender: derick@localhost To: Rui Hirokawa cc: internals@lists.php.net In-Reply-To: <4515B932.3080901@ybb.ne.jp> Message-ID: References: <4515B932.3080901@ybb.ne.jp> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] RFC: about mb_list_encoding() /mb_list_encodings_alias_names( ), mb_list_mime_names( ) From: derick@php.net (Derick Rethans) On Sat, 23 Sep 2006, Rui Hirokawa wrote: > What do you think about the specification ? > Which way do you prefer to support alias/MIME encoding? > 1. adding new functions > (mb_list_encodings_alias_names(), mb_list_mime_names()) > 2. adding an option to mb_list_encoding(). I think it should be multiple functions as the return value of the functions is different. By making it an option you sorta change the total working of a function which I think can be confusing. regards, Derick