title: How does Microsoft Excel detect encoding of .xls or .xlsx files?
body: <p>Sometimes Excel fails to open <strong>.xls or .xlsx</strong> files with <strong>UTF-8</strong> with right encoding and I couldn't find any encoding settings for a particular file when writing. How does Microsoft Excel detect encoding of .xls or .xlsx files?</p>