EDIT - The following converts UTF-16 to specification. I do not think it works with any other UTF formats. I know this does not work for UTF-8. I am not sure about UTF-32 with specification
for %%F in (*.txt) do type "%%F" >"%%~nF.converted"
If run from the command line, use one percent % instead of double percent %% .
After checking the correctness of the converted files, you can
del *.txt ren *.converted *.txt
source share