From: Daniel Barkalow Date: Wed, 12 Oct 2005 19:07:49 GMT Subject: Re: [PATCH] Try URI quoting for embedded TAB and LF in pathnames Message-ID: In-Reply-To: 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*