Aspose.Words.FileFormatUtil class. Provides utility methods for working with file formats, such as detecting file format or converting file extensions to/from file format enums...how to detect encoding in an html file. let info = aw . FileFormatUtil...detectFileFormat ( base . myDir + "Document.html" ); expect ( info . loadFormat...