PS Tips: powershell 将文件以utf8格式打开并另存

1. powershell 将文件以utf8格式打开并另存

Get-Content  .\rep_position_liquidity.csv -Encoding UTF8 | Set-Content  -Path .\a.csv  -Encoding UTF8

 

Powershell 的输入输出

https://www.cnblogs.com/fuhj02/archive/2010/12/20/1910943.html

http://www.ccidnet.com/2010/0903/2118503.shtml

http://blog.sina.com.cn/s/blog_4513dde60100vs4v.html

 

Powershell博客:http://www.cnblogs.com/fuhj02/

posted @ 2017-11-30 11:17  AutoDev  阅读(623)  评论(0编辑  收藏  举报