dotnet / dotnet/announcements

.NET Core 2.0 Globalization Invariant Mode

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
.NET Core 2.0 Enhancement
Dominant language
No language data
Stars
1.4k
Forks
53
PR merge metrics
No merged PRs in 30d

Description

# .NET Core 2.0 Globalization Invariant Mode

## Summary

.NET Core 2.0 includes a new opt-in globalization mode that provides basic globalization-related functionality that is uniform across operating systems and languages. The benefit of this new mode is its uniformity, distribution size, and the absence of any globalization dependencies. The downside is that it doesn't actually provide globalization functionality.

This mode is not the default mode in .NET Core, so applications have to opt in. There are no plans to make this mode the default one.

See [.NET Core Globalization Invariant Mode](https://github.com/dotnet/runtime/blob/main/docs/design/features/globalization-invariant-mode.md) to learn more about this feature, and decide whether the new mode is a good choice for your app or if it breaks its functionality.

## Details

* [dotnet/coreclr #10264](https://github.com/dotnet/coreclr/pull/10264)
* [dotnet/coreclr #10470](https://github.com/dotnet/coreclr/pull/10470)
* [dotnet/corefx #17798](https://github.com/dotnet/corefx/pull/17798)
* [dotnet/corefx #14927](https://github.com/dotnet/coreclr/issues/14927)
* [Invariant mode tests](https://github.com/dotnet/corefx/tree/master/src/System.Globalization/tests/Invariant)

## Impact

The globalization areas affected by enabling the globalization invariant mode are:

* Cultures and culture data
* String casing
* String sorting and searching
* Sort keys
* String Normalization
* International Domain Names (IDN) support
* Time Zone display name on Linux

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.