Does anyone know why this happens
const encoder = new TextEncoder()
const decoder = new TextDecoder()
const array = new Uint8Array([200])
console.log(encoder.encode(decoder.decode(array))) // prints [239, 191, 189]
As far as I know, decoding and encoding anything should give me the exact same value. Should not it just print [200] back?