Skip to content

Repository 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" -NewEncoding "utf-8" -OutputWithBom
#Auto detect and convert
Get-FileEncoding *.txt | Convert-FileEncoding -NewEncoding "utf-8" -OutputWithBom

About

A Powershell module which can detected encoding automatically

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages