Quote:
Trying to read MS word file
An msword file is not plain text, that is the reason why one use library to read/change/save such a file.
The 'PK' you see at beginning of file is the signature of a zip file. The word file is a zip archive and the 'PK' signature is beginning tag of each individual file in the archive and you find the file name a few positions after it.
So this is the 4 file names one can see in your code dump :
[Content_Types].xml
_rels/.rels
word/_rels/document.xml.rels
word/document.xml
string wordHTML = System.IO.File.ReadAllText(path);
By the way, such a file is to be read in binary mode.