For context it was
this question. I suspect that VSCode truncates the view, and the question is 2 bundled into 1 - truncation of the rows it displays, and the encoding of the file/terminal. But I'm poop with string encoding so I'm probably not the person to answer