UTF-16 to UTF-8 conversion (for scripting in Windows) May 31, 2023 by Tarik There is a GNU tool recode which you can also use on Windows. E.g. recode utf16..utf8 text.txt