Learn encoding - How to detect the encoding of a text file with Python? ... import chardet rawdata = open(file, "r").read() result = chardet.detect(rawdata) ...
確定! 回上一頁