Skip to content
International Components for Unicode for .NET
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Added .NET Standard 2.0 support Aug 9, 2019
src ICU4N.Text.BreakIterator: Added TODO about reverting RuleStatus to co… Oct 19, 2019
tests Added Norm2AllModesExtension.tt to generate ICharSequence overloads. … Oct 18, 2019
.gitignore Updated .gitignore to include .orig files that are produced when doin… Jul 18, 2019
Directory.Build.props Added .NET Standard 2.0 support Aug 9, 2019
Directory.Build.targets
ICU4N.sln Upgraded to the new .snupkg debug symbols format Aug 5, 2019
LICENSE.txt
README.md
azure-pipelines.yml
version.json

README.md

International Components for Unicode

ICU4N is a set of .NET libraries providing Unicode and Globalization support for software applications, a .NET port of the popular ICU4J project.

This is a port of (currently 60.1) of ICU4J. We have ported about 40% of the code so far, and it is still a work in progress. Here are some of the major features that are ported:

Functioning

  1. BreakIterator
  2. RuleBasedBreakIterator
  3. Normalizer
  4. Normalizer2
  5. FilteredNormalizer2
  6. UnicodeSet
  7. Collator
  8. RuleBasedCollator
  9. Transliterator

There are several other features too numerous to mention that are also functioning, but APIs are currently in flux between releases. There are also some known gaps in conversion between CultureInfo and ULocale. We have over 1600 passing tests, most failures are just due to missing dependencies.

Partially Functioning

  1. ULocale (we recommend using System.Globalization.CultureInfo only to set cultures/locales for the time being)
  2. MessageFormat (only supports ChoiceFormat currently)

NuGet Packages

Install-Package ICU4N -Pre

We have setup the project structure similar to ICU4J. Currently, here is a list of the packages available on NuGet:

  1. ICU4N (main package)
  2. ICU4N.Collation
  3. ICU4N.CurrencyData
  4. ICU4N.LanguageData
  5. ICU4N.RegionData
  6. ICU4N.Transliterator

Documentation

We have converted most of the documentation comments so intellisense works. However, for full API docs the best source at the moment is the ICU4J API Reference. There is also a lot of other great info on the ICU project's web site, such as the Feature Comparison Page.

You can’t perform that action at this time.