Was setting TextEncoder, not TextDecoder, before.