add text-encoding

provides TextEncoder polyfill for utf8 data in ArrayBuffer