The utf8 namespace contains functions for encoding and decoding UTF-8 data.
utf8
It achieves the same results as TextEncoder and TextDecoder, with fewer characters to type.