From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Barkalow Subject: Re: [PATCH] Try URI quoting for embedded TAB and LF in pathnames Date: Wed, 12 Oct 2005 15:07:49 -0400 (EDT) Message-ID: References: <7vu0ftyvbc.fsf@assigned-by-dhcp.cox.net> <20051007232909.GB8893@steel.home> <7vpsqgyjrj.fsf@assigned-by-dhcp.cox.net> <20051008064555.GA3831@steel.home> <7vachks7aq.fsf@assigned-by-dhcp.cox.net> <20051008133032.GA32079@localhost> <7v64s7svya.fsf@assigned-by-dhcp.cox.net> <7vu0frpxs1.fsf@assigned-by-dhcp.cox.net> <87mzlgh8xa.fsf@penguin.cs.ucla.edu> <87ek6s0w34.fsf@penguin.cs.ucla.edu> <87slv7zvqj.fsf@penguin.cs.ucla.edu> <877jcjmdmq.fsf@penguin.cs.ucla.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Paul Eggert , Junio C Hamano , Robert Fitzsimons , Alex Riesen , git@vger.kernel.org, Kai Ruemmler X-From: git-owner@vger.kernel.org Wed Oct 12 21:04:46 2005 Return-path: Received: from vger.kernel.org ([209.132.176.167]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EPlt3-0002Xz-I5 for gcvg-git@gmane.org; Wed, 12 Oct 2005 21:03:37 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932453AbVJLTC5 (ORCPT ); Wed, 12 Oct 2005 15:02:57 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932417AbVJLTC5 (ORCPT ); Wed, 12 Oct 2005 15:02:57 -0400 Received: from iabervon.org ([66.92.72.58]:59662 "EHLO iabervon.org") by vger.kernel.org with ESMTP id S932441AbVJLTCy (ORCPT ); Wed, 12 Oct 2005 15:02:54 -0400 Received: (qmail 14467 invoked by uid 1000); 12 Oct 2005 15:07:49 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Oct 2005 15:07:49 -0400 To: Linus Torvalds In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, 12 Oct 2005, Linus Torvalds wrote: > So if you want to support any other locale than UTF-8, you need to escape > them. Assuming you want to escape control characters at all, of course (I > still think it's perfectly fine to just let the raw mess through and > depend on escaping at higher levels) I think it's actually sufficient to escape 0x00-0x1f and 0x7f; those ranges are both easy and, as far as I can tell, include all of the control characters that do annoying things. I think escape, backspace, delete, and bell are the only ones we'd rather the terminal not get; beyond that, patches with screwy filenames look screwy, but don't screw up anything outside of the filename. -Daniel *This .sig left intentionally blank*