Hi Folks, Once upon a time there was a device containing a continuous stream of voltages. Along came a clever
fellow who decided to:
After doing so, here is what he had: 11110001000101011110000110000101101101011100000110110001100101001111100100100001100101011011000110110001101111001011000010000001110111011011110111001001101100011001000011110000101111010001010111100001100001011011010111000001101100011001010011111000001010 For reasons no one quite knows, the fellow decided to break up this long string of zeroes and ones
(which he referred to as a “binary string”) into groups of 8. He treated each group as representing a number and converted each number to a base 16 value (hexadecimal). After doing so, here is what he had: 3C 45 78 61 6D 70 6C 65 3E 48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 3C 2F 45 78 61 6D 70 6C 65 3E 0A The fellow was uncomfortable dealing with hexadecimal values and decided to let each pair of hexadecimal
digits (hex digits) represent a character: Hex 3C shall be represented by the character < He was far more systematic than I show here, but you get the idea. This mapping from hex to characters
he called an “encoding”. After doing the encoding, he had this: <Example>Hello, world</Example> He called this XML. /Roger |