LoadOptions.encoding property. Gets or sets the encoding that will be used to load an HTML, TXT, or CHM document if the encoding is not specified inside the document... myDir + "English text.txt" , loadOptions ); expect...SaveFormat . Text ). includes ( "This is a sample text in English...