Releases: abjerner/Skybrud.Csv
Skybrud.Csv v0.0.3
Installation
Install the NuGet package - either via the .NET CLI:
dotnet add package Skybrud.Csv --version 0.0.3
or the NuGet package manager:
Install-Package Skybrud.Csv -Version 0.0.3
Changelog
-
Added logic for converting to and from
DataTable
instances (see a3ce074)
TheSystem.Data
namespace (which contains theDataTable
class as well as related classes) is not supported in .NET Standard 1.3, so .NET Standard 2.0 has been added as an additional target framework. -
Added logic to the
CsvFile
class for automatically detecting the used separator (see 7689855)
This includes looking for an explicit separator declaration likesep=;
in the beginning of CSV files, but also scanning the first row to find what's the most likely separator used. -
Added logic to the
CsvFile
class for automatically detecting the used encoding (see 7689855 and e20dde9)
When loading a CSV file, the package will now try to detect the encoding, by checking against UTF-8, Windows 1252 and ISO 8859-1. Other encoding might be added in the future, but for now, these should account for the most widely used encodings in Western countries.