Python module and description of a encoding with infinite letter space.
Chain encoding is a simple, (used with numbers less than 128) ASCII-compatible Unicode based encoding that uses the unused 8th bit of an ASCII byte to concatenate multiple bytes (like a chain).
As a result, an infinite number of letters can be stored.
If the bit is 1, the other 7 bits are chained to the previous byte.
If the bit is 0, a new chain is created.
01000101 —> new Chain 1000101 —> 1000101 —> 69 —> E
00000001 11000100 —> new Chain 0000001 + 1000100 —> 00000011000100 —> 196 —> Ä
00000001 11011110 10100010 —> new Chain 0000001 + 1011110 + 0100010 —> 000000110111100100010 —> 28450 —> 漢
10100110 10010000 —> missing start of Chain