Add TextCodec class.
Implement Utf8TextCodec.