How to use the shell command to convert a bunch of .csv files from ansi format to utf-8 format under windows?

how to use the shell command to convert a bunch of .csv files from ansi format to utf-8 format under

windows?
Source folder input_dir
destination folder output_dir
Thank you

Mar.12,2021

install cygwin, install dos2unix tool.

then cd to your input_dir directory in cygwin, and execute find-name'* .csv'- print0 | xargs-0 dos2unix one command.

I have to say that the experience of shell and tools under Linux is the end of windows. If you have to use shell, it is recommended to run the posix simulation environment under windows and use the GNU series toolset.

in addition, powershell can also be implemented through scripting: https://stackoverflow.com/que. convenience is definitely not as convenient as find + dos2unix.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35755-e4e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35755-e4e5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?