Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 93552 invoked from network); 31 Mar 2008 23:36:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Mar 2008 23:36:31 -0000 Received: (qmail 9287 invoked by uid 500); 31 Mar 2008 23:36:30 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 9260 invoked by uid 500); 31 Mar 2008 23:36:30 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 9251 invoked by uid 99); 31 Mar 2008 23:36:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 16:36:30 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of graham.dumpleton@gmail.com designates 74.125.46.154 as permitted sender) Received: from [74.125.46.154] (HELO yw-out-1718.google.com) (74.125.46.154) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 23:35:49 +0000 Received: by yw-out-1718.google.com with SMTP id 5so165331ywr.84 for ; Mon, 31 Mar 2008 16:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=LyAOIuYeeYRgDdQHn8rxTbt8kk19W5lfQAZHh6R5IC0=; b=osDilsmVCxdU2IONBOkmIBb+Zd4hLbvuBYuZX7uOBxLhDDHU2b7DVhWtFibmscvuPXFQ2DTS1eRf5n9Q94bTm+JV/7bpu/gpdhMB/T13pXxIuFMJj7vqVCQFCBdkxgBukApMN/9kKZ6Ddf3MJ7CXQw0dObkRhxs0XsNN4izJMlk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KK83rzDDLMQoeX/0mJ+tkbvbPIiAtViD3I4ZQKpBTkZevs7aGAcnEwToWxu661vj3LvDJaFncA8dL0HNf0swP0DdeMaQUJXL8cm7Ku80Ti4h/0syA6PcXv5l7B7UwYCTWAuSdkIkguN23fYV1V05MHGZOCPncssbwX67WNt6Nck= Received: by 10.150.196.5 with SMTP id t5mr3731134ybf.40.1207006543306; Mon, 31 Mar 2008 16:35:43 -0700 (PDT) Received: by 10.150.139.15 with HTTP; Mon, 31 Mar 2008 16:35:42 -0700 (PDT) Message-ID: <88e286470803311635r736c1231m98ff186d05e3619d@mail.gmail.com> Date: Tue, 1 Apr 2008 09:35:42 +1000 From: "Graham Dumpleton" To: modules-dev@httpd.apache.org Subject: Character encoding of stuff logged to Apache error log. MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org What charset should notionally apply to anything logged to Apache error log? In converting mod_wsgi to Python 3.0, have to deal with applications which at higher level are going to be outputting unicode strings for logging. Thus need to specify a charset when converting unicode strings to byte strings for output to Apache error log. Is it reasonable to assume that UTF-8 can be used? Graham