Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/24/04 01:11
Read: times


 
Msg Score: +1
 +1 Good Answer/Helpful
#76308 - Violating the ASCII standard
Responding to: ???'s previous message
Rodrigo,

first, why have you left the original thread??

You can only transmit single digits by the help of ASCII code! Something like '5' can be represented by the ASCII code. But it doesn't exist an ASCII code for '27' e.g. If you want to transmit '27' by the help of true ASCII code, then you must transmit it by TWO bytes: The ASCII codes of '2' and '7'.
If you do not want to violate the ASCII standard, then there's no way to transmit '27' by a true ASCII code, consisting of only ONE byte.

But you are free, of course, to define your own standard. You could define, for example, that '27' shall be represented by the ASCII code of 'G'. And if all involved communication partners do know this definition, that ASCII code of 'G' shall be interpreted as '27', then you can transmit '27' via only one byte. But that would not be true ASCII code...

Keep in mind, that the idea of a common 'language' like ASCII code is, that all involved partners of communication will understand it, without any need to define from case to case, what the words actually mean! Will say: If any computer on this world transmitts data via ASCII code, then every other computer on this world will totally understand this language. And if you would like to transmit '27' by the help of ASCII code, you would have to do it by transmitting the ASCII codes of '2' and '7'. Everything that differs from that will definitely result in total confuse. That's the idea of a common language!

Kai

List of 10 messages in thread
TopicAuthorDate
ASCII in a larger range than 0-15?            01/01/70 00:00      
   RE: ASCII in a larger range than 0-15?            01/01/70 00:00      
      RE: ASCII in a larger range than 0-15?            01/01/70 00:00      
         RE: ASCII in a larger range than 0-15?            01/01/70 00:00      
   RE: ASCII in a larger range than 0-15?            01/01/70 00:00      
   Violating the ASCII standard            01/01/70 00:00      
      Print an ASCII chart!            01/01/70 00:00      
         RE: Print an ASCII chart!            01/01/70 00:00      
   RE: is this it?            01/01/70 00:00      
      RE: is this it?            01/01/70 00:00      

Back to Subject List