Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23614 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97361 invoked by uid 1010); 22 May 2006 12:38:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 97345 invoked from network); 22 May 2006 12:38:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2006 12:38:28 -0000 X-PHP-List-Original-Sender: lists@block-online.eu X-Host-Fingerprint: 81.169.145.178 nattrymon.rzone.de Solaris 10 (beta) Received: from ([81.169.145.178:64753] helo=nattrymon.rzone.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 55/B4-19568-3C0B1744 for ; Mon, 22 May 2006 08:38:28 -0400 Received: from ollie.block-gmbh.de (dslb-084-063-174-156.pools.arcor-ip.net [84.63.174.156]) (authenticated bits=0) by post.webmailer.de (8.13.6/8.13.6) with ESMTP id k4MCcLWp019209 for ; Mon, 22 May 2006 14:38:22 +0200 (MEST) Reply-To: lists@block-online.eu To: internals@lists.php.net Date: Mon, 22 May 2006 14:37:56 +0200 User-Agent: KMail/1.7.1 References: <200605201918.29524.lists@block-online.eu> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200605221437.56905.lists@block-online.eu> Subject: Re: [PHP-DEV] iconv_mime_encoding From: lists@block-online.eu (Oliver Block) Am Sonntag, 21. Mai 2006 01:46 schrieb Derick Rethans: > It doesn't, but changing it now breaks BC. Hi Derrick, if you look into RFC4021 there are about 70 header fields, which could be created comfortably with the function iconv_mime_encode. On the other hand there are fields that can be not created comfortably by it because of description in my initial mail. An extension of that function might be a good solution: I tested supplying a "" for value of field_name which results in : field body content If the function would be changed so that one could just supply "" as field_name and it would not prepend the field_name and the ": " to the field_value the problem would not occur anymore. On the other hand someone could have implemented a workaround that split(": ", ...) the return value .... So an additional function like iconv_mime_encoding_value might be a better solution which would act like iconv_mime_encoding without requiring (and returning) the field_name. Best Regards, Oliver