Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 64437 invoked from network); 19 Jan 2006 18:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jan 2006 18:48:19 -0000 Received: (qmail 63834 invoked by uid 500); 19 Jan 2006 18:48:14 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 63754 invoked by uid 500); 19 Jan 2006 18:48:13 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 63743 invoked by uid 99); 19 Jan 2006 18:48:13 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 10:48:13 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [212.18.32.14] (HELO out-2.mail.amis.net) (212.18.32.14) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2006 10:48:12 -0800 Received: from in-1.mail.amis.net (in-1.mail.amis.net [212.18.32.15]) by out-2.mail.amis.net (Postfix) with ESMTP id 930A110A3FF for ; Thu, 19 Jan 2006 19:47:46 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by in-1.mail.amis.net (Postfix) with ESMTP id 6D4842D75B2 for ; Thu, 19 Jan 2006 19:47:46 +0100 (CET) Received: from in-1.mail.amis.net ([127.0.0.1]) by localhost (in-1.mail.amis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07042-06 for ; Thu, 19 Jan 2006 19:47:43 +0100 (CET) Received: from smtp.amis.net (smtp.amis.net [212.18.32.41]) by in-1.mail.amis.net (Postfix) with ESMTP id A5F7E2D759C for ; Thu, 19 Jan 2006 19:47:43 +0100 (CET) Received: from mithril.xbc.nu (cpe-212-18-56-180.dynamic.amis.net [212.18.56.180]) by smtp.amis.net (Postfix) with ESMTP id 5AC17396812 for ; Thu, 19 Jan 2006 19:47:42 +0100 (CET) Received: from [172.17.19.19] (silmaril.xbc.nu [172.17.19.19]) by mithril.xbc.nu (Postfix) with ESMTP id CAAF98302 for ; Thu, 19 Jan 2006 19:47:42 +0100 (CET) Message-ID: <43CFDF18.7020506@xbc.nu> Date: Thu, 19 Jan 2006 19:48:56 +0100 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= Reply-To: dev@httpd.apache.org User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: httpd and locales References: <7edfeeef0601181117yb0af3cbsfd553c5a0e4c7a62@mail.gmail.com> <20060118223005.GA28979@redhat.com> <7edfeeef0601181500t39a1137fwbad5a8e717febb8b@mail.gmail.com> <200601190008.17032@news.perlig.de> <7edfeeef0601181514g68569983o3085aa70fa6f5232@mail.gmail.com> <20060119165558.00007c70@fe-pc-323.webde.local> In-Reply-To: <20060119165558.00007c70@fe-pc-323.webde.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at amis.net X-Spam-Score: -1.551 X-Spam-Level: X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.551 required=5 tests=[AWL=-1.027, BAYES_00=-2.599, RCVD_IN_NJABL_DUL=0.088, RCVD_IN_SORBS_DUL=1.987] X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N André Malo wrote: > * Garrett Rooney wrote: > > >>> It doesn't belong here, but... I'm wondering why the path isn't passed as >>> UTF-8. Why is it translated to the locale at all? It's all happening within >>> the svn file system, so I'd really expect to get utf-8 and would consider >>> locale translation as a bug. >>> >> Well, I imagine that the assumption is that any hook script is going >> to be using the actual locale specified in LANG/LC_ALL/etc env >> variables, so if we don't translate to that locale it'll get rather >> confused by utf8 data in its command line. As a general rule svn >> translates from native -> utf8 on input and from utf8 -> native for >> output. Ironically, if the LANG/LC_ALL/etc env vars were being >> followed by httpd this translation would be a noop, since the system >> uses a utf8 locale... >> > > So whether the users of a repository (httpd or svnserve) may use the full > unicode range for their files depends on the locale of the server? That feels > just wrong ;-) I don't see how there are command line confusings... > You're confusing the content of the SVN repository and hook scripts stored on the local filesystem. Paths in the first are always encoded in UTF-8. The latter naturally have to obey the server's locale. -- Brane