Skip to content

仓库 files navigation

FileEncodingHelper

A Powershell module can detected encoding automatically. And can transcode file to other encoding. It is powered by UTF-unknown. Based on Mozilla Universal Charset Detector.

Usages

#Get files encoding with wildcard.
Get-FileEncoding *.txt
#Convert files with wildcard.
Convert-FileEncoding *.txt -SourceEncoding "shift-jis" -新建Encoding "utf-8" -OutputWithBom
#Auto detect and convert
Get-FileEncoding *.txt | Convert-FileEncoding -新建Encoding "utf-8" -OutputWithBom

关于

A Powershell module which can detected encoding automatically

Topics

Resources

Stars

10 stars

关注者

3 watching

复刻s

发布

贡献者

Languages