https://encoding.spec.whatwg.org/#utf-8-encode. Referencing the UTF-8 encoding directly is not great.