tests/test-hybridencode.py
changeset 17444 d527ac9f011d
parent 17440 5be041254a2e
child 17445 e5422a9ffe9d
equal deleted inserted replaced
17443:1526ac765e29 17444:d527ac9f011d
    19 show("data/_")
    19 show("data/_")
    20 
    20 
    21 print "tilde is character-encoded"
    21 print "tilde is character-encoded"
    22 show("data/~")
    22 show("data/~")
    23 
    23 
    24 print "characters in ASCII code range 0..31"
    24 print "characters in ASCII code range 1..31"
    25 show('data/\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f'
    25 show('data/\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f'
    26           '\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f')
    26           '\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f')
    27 
    27 
    28 print "characters in ASCII code range 126..255 (only partially tested)"
    28 print "characters in ASCII code range 126..255 (only partially tested)"
    29 show('data/\x7e \x7f \x80 \x81 \x82 \x83 .. \xfd \xfe \xff')
    29 show('data/\x7e \x7f \x80 \x81 \x82 \x83 .. \xfd \xfe \xff')
    30 
    30