The documentation for LoadTextW says:
My question is: what constitutes Unicode encoding? A Unicode text file could be in UTF-16 BE or UTF-16 LE; the byte order mark will reveal this. However, UTF-8, the most commonly-used Unicode encoding, does not normally have a byte-order mark.For LoadTextW:
File must be in Unicode encoding.
Does LoadTextW recognize and load UTF-8 without a BOM?
Cheers,
Martin