UnicodeCharsetDetector.Standard 1.1.1

Install-Package UnicodeCharsetDetector.Standard -Version 1.1.1
dotnet add package UnicodeCharsetDetector.Standard --version 1.1.1
<PackageReference Include="UnicodeCharsetDetector.Standard" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UnicodeCharsetDetector.Standard --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UnicodeCharsetDetector.Standard, 1.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install UnicodeCharsetDetector.Standard as a Cake Addin
#addin nuget:?package=UnicodeCharsetDetector.Standard&version=1.1.1

// Install UnicodeCharsetDetector.Standard as a Cake Tool
#tool nuget:?package=UnicodeCharsetDetector.Standard&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Latest build NuGet Downloads License

UnicodeCharsetDetector

Table of Contents

Description

Text files Unicode charset w/wo BOM detector. Encodings supported:

  • UTF-7
  • UTF-8
  • UTF-16
  • UTF-32

Website

Download

NuGet

Example

Example application can be found here.

// Get file encoding.

var unicodeCharsetDetector = new UnicodeCharsetDetector.UnicodeCharsetDetector();

using var stream = File.OpenRead(fileName);

var charset = unicodeCharsetDetector.Check(stream);
var encoding = charset.ToEncoding();

License

MIT, see LICENSE file for details.

  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.3

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on UnicodeCharsetDetector.Standard:

Package Downloads
CsvLINQPadDriver

LINQPad 7/6 CSV driver.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 993 7/19/2021
1.1.0 106 7/4/2021
1.0.1 311 6/23/2021
1.0.0 82 6/22/2021

Code cleanup.