dotnet add package libscodecvt.lib --version
NuGet\Install-Package libscodecvt.lib -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="libscodecvt.lib" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add libscodecvt.lib --version
#r "nuget: libscodecvt.lib,"
#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 libscodecvt.lib as a Cake Addin
#addin nuget:?package=libscodecvt.lib&version=

// Install libscodecvt.lib as a Cake Tool
#tool nuget:?package=libscodecvt.lib&version=


Simple code conversion library for C++.


#include <scodecvt/simple_codecvt.h>

namespace sc = simple_codecvt;

int main(void)
	auto str = U"你a好b😀c";
	auto widestring = sc::to_wstring(str); // to wide character string
	auto utf8string = sc::to_utf8(str); // to UTF-8 string
	auto utf16string = sc::to_utf16(str); // to UTF-16 string
	auto utf32string = sc::to_utf32(utf16string); // to UTF-32 string

	return 0;


Visual Studio 2019

  1. Right click project → Manage NuGet packages...Browse → search libscodecvt,install package.

  2. Project configuration: C/C++LangageC++ langage standardstd:c++lastest

Product Versions
native native
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on libscodecvt.lib:

Package Downloads

C++ simple input and output.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 506 11/8/2019 352 11/7/2019 358 11/7/2019 341 11/7/2019
3.0.0 363 11/5/2019 354 11/3/2019
2.0.0 356 11/3/2019 349 11/1/2019

Modify nuget information.