From dev-return-18568-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Tue Jun 26 01:19:50 2007 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 52644 invoked from network); 26 Jun 2007 01:19:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 01:19:48 -0000 Received: (qmail 6082 invoked by uid 500); 26 Jun 2007 01:19:51 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 5699 invoked by uid 500); 26 Jun 2007 01:19:50 -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 5684 invoked by uid 99); 26 Jun 2007 01:19:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 18:19:50 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of covener@gmail.com designates 66.249.92.171 as permitted sender) Received: from [66.249.92.171] (HELO ug-out-1314.google.com) (66.249.92.171) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 18:19:46 -0700 Received: by ug-out-1314.google.com with SMTP id u2so1580757uge for ; Mon, 25 Jun 2007 18:19:24 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AycuAyQEtFc8RkhL4sc2P+sO5dSuOCG6semzvTOnUHO8V17wKoCvZUBz/RGTl0/XO9hKeowyEzxUbtGuBfX3Vya3cCKRc9MXeG7bpzF1qr3GLyt9b79HamFKPw4l4l+n6Dak+IgMdaVVETcFuqsB18+9Yq0nHsB9m3zvkCqvP0I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R04FHN3hne9HvtH5+kJxoPROWNszLSGhwxhwrDlAPkfuNG8Zj0y+Re4lydDvfKSwStQPeUD2PYXeqeJsGlsryWk5bRVmQPf4FYeVlJ7bojWmiJhdF3y3r4cVxR209V3bSlBUoGPC4MNMkFpbRzPjFgJRs/C7h6IWtWLieAn0jQU= Received: by 10.78.123.5 with SMTP id v5mr2835971huc.1182820764707; Mon, 25 Jun 2007 18:19:24 -0700 (PDT) Received: by 10.78.189.19 with HTTP; Mon, 25 Jun 2007 18:19:24 -0700 (PDT) Message-ID: <1404e5910706251819m3f894fi6423d96c33661e28@mail.gmail.com> Date: Mon, 25 Jun 2007 21:19:24 -0400 From: "Eric Covener" To: dev@apr.apache.org Subject: Re: Problem with iconv charsets... Cc: "Marshall Powers" , "Log4CXX User" In-Reply-To: <468017FA.7010805@rowe-clan.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1182787731.27898.ezmlm@apr.apache.org> <000d01c7b744$c89e86c0$2c01a8c0@nycapt35k.com> <467FEE24.4000809@rowe-clan.net> <000e01c7b748$b0483900$2c01a8c0@nycapt35k.com> <468017FA.7010805@rowe-clan.net> X-Virus-Checked: Checked by ClamAV on apache.org On 6/25/07, William A. Rowe, Jr. wrote: > * At run-time this should probably be determined by parsing first the > LC_CTYPE, or LC_ALL in it's absense, or the fallback to the LANG > envvar if neither LC_ variable is defined. The codepage follows > the period, e.g. LANG=en_US.UTF-8 would be parsed as 'UTF-8'. Wouldn't runtime checks would mean xlate/xlate.c needs to find a new way to figure out what the codepage of the source code was (to translate compiled-in strings)? Perhaps APR_DEFAULT_CHARSET could be split into two different identifiers APR_CURRENT_CHARSET/APR_BUILD_CHARSET that xlate callers would have to think about. -- Eric Covener covener@gmail.com