Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE87B17B33 for ; Sun, 26 Oct 2014 10:22:28 +0000 (UTC) Received: (qmail 9006 invoked by uid 500); 26 Oct 2014 10:22:23 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 8942 invoked by uid 500); 26 Oct 2014 10:22:23 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 8932 invoked by uid 99); 26 Oct 2014 10:22:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 10:22:23 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of brane@wandisco.com designates 209.85.212.180 as permitted sender) Received: from [209.85.212.180] (HELO mail-wi0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Oct 2014 10:22:18 +0000 Received: by mail-wi0-f180.google.com with SMTP id hi2so620636wib.1 for ; Sun, 26 Oct 2014 03:21:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wandisco.com; s=gapps; h=message-id:date:from:organization:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Mg4SchPDHiW4yKUGaaO2mAo6X5zdB59JlJSr8C5D9jY=; b=Z4iVLUDmhq36bUa6pgcf2+P/Q+7kgmqntoyyauvpQ2Ddr/ulft/35SWxzAkZP3A8mb f8/OQilbWsDnG++R78u/3fuVXjTYbOvKVMo4n51Lk4HRLyzl/1QS8tJc/M9jtnixITsA VTtJC5Qd/Ddt5AkTYkvtZDBtdxKAy/RrEmbko= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:organization:user-agent :mime-version:to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Mg4SchPDHiW4yKUGaaO2mAo6X5zdB59JlJSr8C5D9jY=; b=gF+uHj0rj/vMu7t/m/1juGolivesIaqKZxsHgzII++IoiIL6s3lyMMDfRN0UagKhcS g/eYgLZwEkCeAERag7BIOKqmE38gy2dEWnWxG0duZ6iqI4iEzVGgEfC6+WzTRhW9189/ kkLJi7gcErs3iyx7wt1/Cf+g6sxutzYuxgyFSWjnU/NeIPpETsECFGq18puhTFaO5R9Z ByAEOWt3GDmoC+01cqSVQp7kT0Kfc/8JAlTHaoJH+KEzKgax3h+pZNh+4luJeIDlZ2Vb uCCZPqlE8ItmH5JjVRM5c4jCwowVqpKioqzvMzZcMAJgfL4dFK0IALcoGxvVRlZdGqHZ uYtA== X-Gm-Message-State: ALoCoQkb3fmzDhizyPwrrlUNdC3ofHpAxU8g2WVgcs/QSYtvO8yH9TdTn4v1OqIkLOVEsGjWiM76 X-Received: by 10.180.74.142 with SMTP id t14mr14466742wiv.17.1414318916287; Sun, 26 Oct 2014 03:21:56 -0700 (PDT) Received: from zulu.local (cpe-90-157-246-145.dynamic.amis.net. [90.157.246.145]) by mx.google.com with ESMTPSA id ws2sm11506277wjc.32.2014.10.26.03.21.54 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 26 Oct 2014 03:21:55 -0700 (PDT) Message-ID: <544CCB41.6080500@wandisco.com> Date: Sun, 26 Oct 2014 11:21:53 +0100 From: =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= Organization: WANdisco User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: dev@subversion.apache.org Subject: Re: svn:mime-type arbitrary parameters References: <544BF1A4.6020604@seantek.com> <544C4763.1060709@wandisco.com> <544C7D69.6010409@seantek.com> In-Reply-To: <544C7D69.6010409@seantek.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 26.10.2014 05:49, Sean Leonard wrote: > On 10/25/2014 5:59 PM, Branko Čibej wrote: >> On 25.10.2014 20:53, Sean Leonard wrote: >>> It appears that the matter was not fully resolved. svn:charset seems >>> to enjoy de-facto use. >> If anyone is using svn:charset, they're violating our rules. The svn: >> namespace is reserved for property names defined by Subversion, and >> we've not defined that name. So ... using that name is likely to cause >> problems at some point. > > Ok. So I guess the issue of how Subversion encodes a particular > character set/character encoding is still "live"? Well, Subversion doesn't "encode" anything; but for the purpose of serving content straight from the repository through an HTTP server, the established way to define the character set is to add the tag to the svn:mime-type property, e.g.: svn propset svn:mime-type 'text/plain; charset=UTF-8' file... That will be exposed to the browser in the Content-Type header, and the Subversion client, which uses svn:mime-type for its own purposes, will ignore any content type parameters (that is, anything after the semicolon). The restriction here is that Subversion restricts the value of the svn:mime-type property to be in the ASCII; which, incidentally, is required by RFC2045 (see: https://www.ietf.org/rfc/rfc2045.txt section 5.1). This may be unwieldy, as you say in your original post, but it's the only way that works. -- Brane