Re: Brian Kernighan, maybe I'm not worthy, maybe I'm scum



spinoza1111 said:

On Dec 31, 12:46 am, Richard Heathfield <r...@xxxxxxxxxxxxxxx> wrote:

<snip>

Well, ASCII is of course 7 bits, so it isn't even a coincidence. But it

No, dear Richard, it is 8 bits.
It WAS 7 bits many years ago

ASCII is defined as a 7-bit code in ANSI X3.4-1986. If ANSI have changed
the definition of ASCII since 1986, they will have published the fact in a
revised Standard, in which case you will be able to cite that Standard.
Feel free to try.

when we
discovered that it's a bad mistake to make word size a prime number
and not a power of two.

And, C code using char * to represent strings is NOT PORTABLE,

Your confusion over C strings is well-documented. It is evident that this
confusion remains. For my counter-arguments, please consult the archives.
I'm not going to explain the blindingly obvious to you all over again,
when I've already done so at great length.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages

  • Re: Politics, not science, defines global warmists
    ... I stated that Ansi was "like Ascii" as are ALL coding systems. ... Not for anyone other than you and a couple of other Outlook Express users. ... I make a simple analogy, that Ansi is "like" ascii, as are ALL OTHER ... The ANSI control standard ...
    (rec.gambling.poker)
  • Re: Politics, not science, defines global warmists
    ... I stated that Ansi was "like Ascii" as are ALL coding systems. ... What those characters can do, and how many bits they use varies. ... there's a standard, that's what things are supposed to conform to. ... I make a simple analogy, that Ansi is "like" ascii, as are ALL OTHER ...
    (rec.gambling.poker)
  • Re: Unicode to ASCII string conversion
    ... files can be ANSI, ASCII, UTF7, UTF8, EBCDIC, UTF16 and many other ... > to string conversion and explicitly no bytearray, ... >> If you need an ASCII file, then use a ASCII encoding. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Unicode (or a subset of it) in DOS window?
    ... First, your conversion isn't from ANSI to *ASCII*, but ANSI to CP850 ... DOS behaves, but not change our ways to do things to suit DOS! ...
    (microsoft.public.windowsxp.general)
  • Re: Unicode to ASCII string conversion
    ... I will go for Jay's solution and use ANSI 8-bit. ... >> ascii byte array, and then the byte array back into a string, I still ... just remember that you will loose some characters going to & from ... > If you need an ASCII file, then use a ASCII encoding. ...
    (microsoft.public.dotnet.languages.vb)