Free ANSI to UTF8 Multiple Files converter

16,270

with powershell you can do something like this:

%  get-content IN.txt | out-file -encoding ENC -filepath OUT.txt

while ENC is something like unicode, ascii, utf8, utf32. checkout 'help out-file'.

to convert all the *.txt files in a directory to utf8 do something like this:

% foreach($i in ls -name DIR/*.txt) { get-content DIR/$i | out-file -encoding utf8 -filepath DIR2/$i }

which creates a converted version of each .txt file in DIR2.

Share:
16,270

Related videos on Youtube

Community
Author by

Community

Updated on September 17, 2022

Comments