3 ms·
>That would require knowing the original encoding. Or just use a library that can detect the encoding, and spit out utf-8. There's several of those.
by dralley 2y ago
>That would require knowing the original encoding.
Or just use a library that can detect the encoding, and spit out utf-8. There's several of those.
- josefx 2y agoYes, you can try to automatically guess the wrong encoding based on statistics that only work some of the time when given large amounts of free flowing text.