Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!news-out.readnews.com!news-xxxfer.readnews.com!hitnews.eu!s09-10.readnews.com!not-for-mail From: Patrick Scheible Newsgroups: comp.lang.c Subject: Re: hexump.c References: Date: Sat, 10 Sep 2011 21:03:29 -0700 Message-ID: <86litvwwry.fsf@zipcon.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) Cancel-Lock: sha1:lCdIMD1wLOtDCoDLJIS7epfGsCI= MIME-Version: 1.0 Content-Type: text/plain Lines: 16 Organization: The Zip Connection (zipcon.net) NNTP-Posting-Host: 6ede7ab0.news.zipcon.net X-Trace: DXC=`a0SS7Q8[gL<G0KMU>Dm5d6:E6MlIl]JY<;?dAAKGKmPXic2K_A>1gcoFWoMAcJ writes: >> What about if you are working with a machine where the character width >> is not a multiple of 4 bits? > > Ahh the famous Deathstation 9000 you mean? > > Let's be realistic, maybe those systems existed in the past but now... There are still systems with 36-bit words. In order to make a C compiler for those systems, 9-bit chars are used. While such a compiler can meet standard C, way too much C code can't be ported because of the widespread assumption that all the world has 8-bit chars. -- Patrick