Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!sdd.hp.com!ucsd!ucbvax!are.berkeley.edu!shankar From: shankar@are.berkeley.edu (Shankar Subramanian) Newsgroups: comp.sys.apollo Subject: btoa/atob on Apollo 3500 running SR 9.7 Message-ID: <36722@ucbvax.BERKELEY.EDU> Date: 3 Jun 90 19:28:58 GMT Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: shankar@are.berkeley.edu (Shankar Subramanian) Distribution: na Organization: Department of Agricultural and Resource Economics, UC Berkeley Lines: 14 I'm posting this message on behalf of a programmer in India, where USENET isn't available. btoa and atob are a pair of filters for encoding from binary to ascii and back and are used to transmit binary files by mail. The code for btoa and atob, I believe, are in the public domain. Btoa (which converts from binary to ascii) compiles and runs correctly on our machines. Atob compiles but doesn't work. The problem seems to be with a right shift operation that Apollo's C compiler does differently. I'd appreciate your replying direct to G.M. Shenoy (shenoy%agni.uucp@uunet.uu.net, ...!uunet!shakti!agni!shenoy) who's asked me to post this message. thanks shankar subramanian (shankar@are.berkeley.edu)