I am trying to read a .txt
file which is encoded with UTF-16 LE BOM, and trying to display it in my C++ GUI. But the only options I found online are deprecated.
Stuff I tried:
How to set file encoding format to UTF8 in C++
How do I print UTF-8 from c++ console application on Windows