I want to save it as a .txt utf-16 encoding. Anyone can give me advice on what should I use? I've tried using _wfopen_s and fwrite to open and save, but all I could get was a utf-8 encoded .txt
Can anyone show me a really simple example of how to create/write a utf-16 file?