您可以使用简单的Powershell脚本来更改编码:
foreach ($file in Get-ChildItem *.csv) {
Get-Content $file.name | Set-Content -Encoding utf8 "UTF8_$($file.name)"
}
在SSIS中导入'.csv'文件时出现奇怪的字符
您可以使用简单的Powershell脚本来更改编码:
foreach ($file in Get-ChildItem *.csv) {
Get-Content $file.name | Set-Content -Encoding utf8 "UTF8_$($file.name)"
}