As stated in title, I would like to check in given file object (opened as binary stream) is valid UTF-8 file.
Anyone?
Thanks
As stated in title, I would like to check in given file object (opened as binary stream) is valid UTF-8 file.
Anyone?
Thanks
You could do something like