to reproduce:
unzip the attached file
call Aspose.Words.FileFormatUtil.DetectFileFormat for the text file
expected to get Txt, but got Unknown
data_1000chars_Uknown.txt.zip (805 Bytes)...result is to detect the file format as “Txt,” but it is detected...detect TXT format it is required to exclude other formats. TXT is...