From owner-freebsd-hackers Thu Sep 21 16:18:49 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id QAA03394 for hackers-outgoing; Thu, 21 Sep 1995 16:18:49 -0700 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id QAA03380 for ; Thu, 21 Sep 1995 16:18:41 -0700 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA14513 (5.67a/IDA-1.5 for hackers@freebsd.org); Thu, 21 Sep 1995 17:48:58 -0500 Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id RAA03512 for hackers@freebsd.org; Thu, 21 Sep 1995 17:30:39 -0500 Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.9) id RAA03428; Thu, 21 Sep 1995 17:26:59 -0500 From: peter@taronga.com (Peter da Silva) Message-Id: <199509212226.RAA03428@bonkers.taronga.com> Subject: Re: Policy on printf format specifiers? To: terry@lambert.org (Terry Lambert) Date: Thu, 21 Sep 1995 17:26:59 -0500 (CDT) Cc: peter@taronga.com, terry@lambert.org In-Reply-To: <199509211755.KAA08994@phaeton.artisoft.com> from "Terry Lambert" at Sep 21, 95 10:55:43 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 942 Sender: owner-hackers@FreeBSD.org Precedence: bulk > Records must do one of three things with Runic encoding schemes: > 1) Not contain a fixed amount of data for a fixed length field. This is acceptable, and doesn't lose information. > 2) Be larger than they have to be to take runic expansion into > account for fixed length fields, with a high average wastage. This is acceptable, and doesn't lose information. The wastage is at worst no worse than the wastage from using wide characters, since you can use whatever wide character encoding you consider preferable to runic encoding in your fixed record files. There is no third option to wide character and runic encoding. > 3) Be variable length, giving up the relationship between file > size and record count. This is acceptable. Fixed record files are extremely rare in UNIX anyway. 4) Be wide enough to hold the characters in fixed width encoding, but use runic encoding when possible, and thus gain the advantages of both.