Added TextEncoder/TextDecoder support.