Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 83435 invoked from network); 30 May 2005 18:10:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 May 2005 18:10:18 -0000 Received: (qmail 75951 invoked by uid 500); 30 May 2005 18:10:17 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 75911 invoked by uid 500); 30 May 2005 18:10:16 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 75896 invoked by uid 99); 30 May 2005 18:10:16 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mailspool.conxion.net (HELO mailspool.conxion.net) (206.204.4.37) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 30 May 2005 11:10:14 -0700 Received: from iss05.interliant.com (iss05.interliant.com [207.113.241.150]) by mailspool.conxion.net (8.12.10+Sun/8.12.10) with ESMTP id j4UIACiv029554; Mon, 30 May 2005 11:10:13 -0700 (PDT) Received: from EX-007.mail.navisite.com (ex-007.interliant.com [207.113.240.186]) by iss05.interliant.com (8.10.2/8.10.2) with ESMTP id j4UIBDt13089; Mon, 30 May 2005 13:11:15 -0500 (CDT) Received: from [192.168.0.80] ([213.202.85.81]) by EX-007.mail.navisite.com with Microsoft SMTPSVC(6.0.3790.211); Mon, 30 May 2005 13:10:06 -0500 Message-ID: <429B5701.5010508@apache.org> Date: Mon, 30 May 2005 20:10:09 +0200 From: Mladen Turk User-Agent: Mozilla X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Trawick CC: dev@apr.apache.org Subject: Re: Move apr_xlate from apr-util to apr-iconv? References: <429AE893.6040207@apache.org> <429AF750.7000806@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 May 2005 18:10:07.0129 (UTC) FILETIME=[CF5F1890:01C56542] X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Jeff Trawick wrote: >>>>Can we move the entire apr_xlate API from apr-utils to >>>>the apr-iconv? >>> >>>no; apr_xlate works just fine without apr-iconv (when system provides >>>a suitable iconv) >>> >> >>It does not. > > > you misread my statement, but that isn't really the point... (I was > trying to convince you that the current arrangement makes a lot of > sense on some platforms...) > I just browse the source code for the httpd and in 99% there is a single need for apr_xlate API, and that is to convert from ISO-8859-1 to EBCDIC if someone is using IBM at the first place. So IMHO we can write a simple converter for that, and get rid entirely of iconv dependency from apr-util. Someting like apr_ascii_to_ebcdic should do thought. If someone wish to use the translation mechanism, well, the there is apr-icov project that should in that case provide the full apr_xlate api. Only mod_charset_lite uses the full capability of iconv stuff, so what's the point to link the apr-util with the iconv/apr-iconv anyhow? Regards, Mladen.