This lightweight tool converts non-UTF-encoded (such as GB2312, GBK, BIG5 encoded) files to UTF-8 encoded files. It can either be executed from command line (CLI), or imported into other Python code.
potapovnikita mentioned this on Oct 18, 2020 Convert html to pdf: utf-8 works only with text, but not html (unicode/cyrillic not working) #2968 ...