[Tutor] Unknown encoded file types.
Mark Lawrence
breamoreboy at gmail.com
Sun Feb 7 09:09:23 EST 2021
On 07/02/2021 08:07, mhysnm1964 at gmail.com wrote:
[snip]
>
> Is there any way to identify the encoded format before opening to change the
> encoded format? I have seen some info on the net and don't understand it.
>
The most popular tool is https://chardet.readthedocs.io/en/latest/ but
as all ready been noted nothing is 100% reliable.
Alternatives https://python.libhunt.com/chardet-alternatives
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
More information about the Tutor
mailing list