Re: ASCII hexadecimal number to character?
From: parv (parv__at_yahooWhereElse.com)
Date: Tue, 16 Dec 2003 01:49:15 GMT
in message <firstname.lastname@example.org>,
wrote Lew Pitcher ...
> parv wrote:
>> printf "DEC OCT HEX - CHAR\n"
>> for dec in $( jot 256 0 )
> OK up to this point.
> ASCII only contains 128 characters, from codepoint 0 (0x00) to
> codepoint 127 (0x7f). Your loop will iterate through 256 values,
> of which only 128 of them represent ASCII characters.
I had forgotten or paid attention to the fact that ASCII character
set ends at decimal 127 (starting from 0); thanks much for the
Then again the only reference to "ASCII" from me was a Google query;
additionally in "en_US.ISO8859-1" locale here, i get perfectly
usable characters (at most other higher order locations). Your
point still stands per the subject of this thread. Mea culpa.
-- In order to reach me, do away w/ WhereElse in the address.