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 C7BB1E672 for ; Sun, 3 Feb 2013 11:43:26 +0000 (UTC) Received: (qmail 21280 invoked by uid 500); 3 Feb 2013 11:43:26 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 21031 invoked by uid 500); 3 Feb 2013 11:43:25 -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 20983 invoked by uid 99); 3 Feb 2013 11:43:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 11:43: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 (nike.apache.org: local policy) Received: from [192.109.42.8] (HELO einhorn.in-berlin.de) (192.109.42.8) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Feb 2013 11:43:16 +0000 X-Envelope-From: stsp@stsp.name Received: from ted.stsp.name (ted.stsp.name [217.197.84.34]) by einhorn.in-berlin.de (8.13.6/8.13.6/Debian-1) with ESMTP id r13BgtBF009534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 3 Feb 2013 12:42:55 +0100 Received: from ted.stsp.name (stsp@localhost [127.0.0.1]) by ted.stsp.name (8.14.6/8.14.3) with ESMTP id r13Bgt1a021892; Sun, 3 Feb 2013 12:42:55 +0100 (CET) Received: (from stsp@localhost) by ted.stsp.name (8.14.6/8.14.3/Submit) id r13BgsEk016749; Sun, 3 Feb 2013 12:42:54 +0100 (CET) Date: Sun, 3 Feb 2013 12:42:53 +0100 From: Stefan Sperling To: Justin Erenkrantz Cc: Bert Huijben , "dev@subversion.apache.org" Subject: Re: svn commit: r1441814 - in /subversion/trunk/subversion: svn/ Message-ID: <20130203114253.GE25729@ted.stsp.name> Mail-Followup-To: Justin Erenkrantz , Bert Huijben , "dev@subversion.apache.org" References: <7009497983621943874@unknownmsgid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang_at_IN-Berlin_e.V. on 192.109.42.8 X-Virus-Checked: Checked by ClamAV on apache.org On Sun, Feb 03, 2013 at 06:16:03AM -0500, Justin Erenkrantz wrote: > On Sun, Feb 3, 2013 at 6:06 AM, Justin Erenkrantz wrote: > > > I thought we treated application/xml as text at one time? -- justin > > > > Yes, we did...and Ben -1'ed it back in 2004. See: > > http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=374218 > > I guess...but...really? Is the only way for a user to override this is to > manually set their local auto-props? *sigh* -- justin Perhaps we should treat mime-types that contain 'charset=UTF-8' as text by default? libmagic is able to detect the charset AFAIK. Our code currently removes charset information from the mime-type returned by libmagic. I don't really like the idea of adding yet another special case to our definition of what a "text" mime-type is. But it might be worth doing this if it impacts a lot of people.