file2utf8 1.0.1

dotnet tool install --global file2utf8 --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local file2utf8 --version 1.0.1                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=file2utf8&version=1.0.1                
nuke :add-package file2utf8 --version 1.0.1                

Convert a non-utf8 file to UTF-8

Installation

The latest release of config2json requires the 6.0.100 .NET Core SDK or newer. Once installed, run this command:

dotnet tool install -g file2utf8

Usage

Usage: file2utf8 [options] <path> <searchPattern>

Arguments:
  path              Path to the file or directory to convert
  searchPattern     If Path is directory, the search string to match against the names of files in path. This parameter can contain a
                    combination of valid literal path and wildcard (* and ?) characters, but it doesn't support regular expressions.
                    Default value is: *.cs.

Options:
  -?|-h|--help            Show help information.
  -b|--bom                UTF8 or UTF8 with BOM.
  -c|--confidence         The confidence of the found encoding. Between 0 and 1.
                          Default value is: 0.9.
  -d|--debug              Show unmatched files, does not convert.
  -i|--ignore-utf8-files  Ignore utf-8 files, even not match bom.
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.1 105 9/10/2024
1.0.0 294 4/7/2022