News for hackers. Stuff that matters.
Re:Text Is the Universal Interface by giantrobot on Wednesday October 05, 2022 @02:17PM (#33099210)
That's what the GP is saying. You can't really tell a priori what encoding to use for a stream of "text" (bytes). Without some sort of metadata about the stream you just have to guess. Convention will help you make an informed guess but it's not guaranteed to be correct. Then stuff breaks in unexpected and stupid ways.

There are no comments on this comment yet.