Text file preview supports automatic decoding

Standalone viewer, text thumbnail plug-ins, etc. will not automatically decode certain text files, resulting in garbled characters. Currently, users can only modify them manually. . .

Example files?

Which encodings do they use?

If the ANSI format is difficult to support, then there may be no need for improvement.

Format			Viewers    Thumb (UTF-8)
ANSI.txt		√			×
UTF-8			×			√

Text plugin has BOM option checked
UTF-8			√			√

ANSI.txt (12 Bytes)
UTF-8.txt (17 Bytes)