Deutsch English Français Italiano |
<v3t2bn$1ksfn$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul <nospam@needed.invalid> Newsgroups: comp.lang.c Subject: Re: ASCII to ASCII compression. Date: Thu, 6 Jun 2024 15:23:33 -0400 Organization: A noiseless patient Spider Lines: 26 Message-ID: <v3t2bn$1ksfn$1@dont-email.me> References: <v3snu1$1io29$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 06 Jun 2024 21:23:35 +0200 (CEST) Injection-Info: dont-email.me; posting-host="00cfbc3cf21bff307de6335a7a0b9345"; logging-data="1733111"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/4GujnLEd6x/fcEha1cfWGNw/y/I44MP0=" User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802) Cancel-Lock: sha1:RNTFGbX3rmT5SWSlTuW4rCJ3a64= In-Reply-To: <v3snu1$1io29$2@dont-email.me> Content-Language: en-US Bytes: 2099 On 6/6/2024 12:25 PM, Malcolm McLean wrote: > > Not strictly a C programming question, but smart people will see the relavance to the topicality, which is portability. > > Is there a compresiion algorthim which converts human language ASCII text to compressed ASCII, preferably only "isgraph" characters? > > So "Mary had a little lamb, its fleece was white as snow". > > Would become > > QWE£$543GtT£$"||x|VVBB? > The purpose of doing this, is to satisfy transmission through a 7 bit channel. In the history of networking, not all channels were eight-bit transparent. (On the equipment in question, this was called "robbed-bit signaling.) For example, BASE64 is valued for its 7 bit channel properties, the ability to pass through a pipe which is not 8 bit transparent. Even to this day, your email attachments may traverse the network in BASE64 format. That is one reason, that email or USENET clients to this day, have both 7 bit and 8 bit content encoding methods. It's to handle the unlikely possibility that 7 bit transmission channels still exist. They likely do exist. Paul