At 11:21 AM -0500 1/31/12, Sean Conner wrote:
A friend recently raised an issue with some code I
wrote (a hex dump
routine) saying it depended upon ASCII and thus, would break on non-ASCII
based systems (and proposed a solution, but that's beside the issue here).
I wrote back, saying the code in question was non-portable to begin with
(since it depended upon read() and write()---it was targetted at Posix based
systems) and besides, I've never encountered a non-ASCII system in the
nearly 30 years I've been using computers.
So now I'm wondering---besides Baudot, 6-bit BCD and EBCDIC, is there any
other encoding scheme used? And of Baudot, 6-bit BCD and EBCDIC, are there
any systems using those encoding schemes *AND* have a C compiler available?
-spc (Or can I safely assume ASCII and derivatives these days?)
Radix-50 on various DEC systems, many of which have C compilers.
I forget what was used in GCOS-8. I started writing C code on a
DPS-8 Mainframe running GCOS-8 as a learning exercise. Horrid C
implementation as I remember, not even really K&R. I can't remember
for sure, but I think it might have come out of Waterloo, and
creating a C compiler for GCOS-8 was probably someones College
project.
Zane
--
| Zane H. Healy | UNIX Systems Administrator |
| healyzh at
aracnet.com | OpenVMS Enthusiast |
| | Photographer |
+----------------------------------+----------------------------+
| My flickr Photostream |
|
http://www.flickr.com/photos/33848088 at N03/ |