From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11081 invoked from network); 9 Oct 2004 01:07:17 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 9 Oct 2004 01:07:17 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CG5hd-0006Jr-75 for arch-gentoo-portage-dev@lists.gentoo.org; Sat, 09 Oct 2004 01:07:17 +0000 Received: (qmail 30432 invoked by uid 89); 9 Oct 2004 01:07:15 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 1529 invoked from network); 9 Oct 2004 01:07:15 +0000 Date: Fri, 8 Oct 2004 20:05:16 -0500 (EST) From: Ed Grimm X-X-Sender: ed@lorp.ed.vnet To: gentoo-portage-dev@lists.gentoo.org In-Reply-To: <20041008174024.18e02618@snowdrop.home> Message-ID: References: <20041008172930.29a60601@andy.genone.homeip.net> <200410081626.39210.luke-jr@utopios.org> <20041008174024.18e02618@snowdrop.home> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [gentoo-portage-dev] changelog encoding X-Archives-Salt: 3c4a1130-36a8-4dab-a161-69d7a0299d6b X-Archives-Hash: 0d1a836e09f2113f7c37ba30c073baee On Fri, 8 Oct 2004, Ciaran McCreesh wrote: > On Fri, 8 Oct 2004 16:26:33 +0000 Luke-Jr wrote: >|> Yup. We *need* to have an official encoding. Reason being, at least >|> one developer has a non-(ASCII as in characters 0..126 only) >| >| ASCII defines 128 characters: 0-127 >| Why cut the last off? > > As I recall, 127 is flaky. Come to think of it, so is 0-31ish as well. > So maybe I should've said [a-zA-Z0-9\-_,.<>?/\\;:'@#~\]{}\+="$%^&* ] or > something... Basically, anything even the slightest bit flaky, plus > newlines, is prone to explode. I hope you like long lines. Might I propose [\n\t\r -~]? However, I suggest that any programs that cannot deal with characters 0-127 are broken and should be fixed. Admittedly, outputing 27 to the terminal raw could trigger a security hole in many terminals, and several other terminals have problems with another character (I'm vaguely thinking 17, but not sure.) (The preceeding paragraph should not be taken as an alternate solution, but one to combine with restricting characters to the above recommended 9, 10, 13, 32-126.) Ed -- gentoo-portage-dev@gentoo.org mailing list