todo about TextEncoder