Simple encoding of streaming text