Detecting file encoding should not be binary as in valid or not.
It would be useful if the application could detect that the file is valid utf8 up until byte 50, then the rest is garbage.
Maybe it could even detect smaller issues in an otherwise correct file and point them out.
Detecting file encoding should not be binary as in valid or not.
It would be useful if the application could detect that the file is valid utf8 up until byte 50, then the rest is garbage.
Maybe it could even detect smaller issues in an otherwise correct file and point them out.