ICU4N
ICU4N copied to clipboard
International Components for Unicode for .NET
I'm using SaxonCS 12.4 which references ICU4N and ICU4N.Resources. The ICU4N.Resources NuGet package is targeting .NET Standard 1.6 which brings in a lot of out of date NuGet packages that...
``` System.InvalidOperationException: Failed to compare two elements in the array. ---> System.TypeInitializationException: The type initializer for 'ICU4N.Text.Transliterator' threw an exception. ---> System.TypeInitializationException: The type initializer for 'ICU4N.Globalization.UCultureInfo' threw an exception....
I have found that .NET 7 or .NET 8 MAUI projects stop building with VS 2022 with errors like shown below as soon as I add SaxonCS as a NuGet...
Several methods that are intended to be called by other methods (often in a tight loop) are set up to new up a `StringBuilder` at the beginning of the method...
We will need the `ValueStringBuilder` overloads to optimize utility methods and avoid heap allocations in the main business logic. This requires updating the [`CodeGenerationSettings.xml`](https://github.com/NightOwl888/ICU4N/blob/0aa1f4c2c9000f828eba3dba917a8f17d2e2adfa/src/CodeGenerationSettings.xml) file to include them and editing...
We will need the `ReadOnlySpan` overloads to optimize utility methods and avoid `Substring()` calls, which are extremely slow in .NET compared to Java. This requires updating the [`CodeGenerationSettings.xml`](https://github.com/NightOwl888/ICU4N/blob/0aa1f4c2c9000f828eba3dba917a8f17d2e2adfa/src/CodeGenerationSettings.xml) file to...
In #3, a `UCutureInfo` type was created to replace the ICU4J `ULocale` type. The main goals for doing this are: 1. To provide a similar API as the `CultureInfo` class...
We have basic support for being able to exclude resource distributions, but it is mostly manual. We need some more automation for this to go smoothly. 1. Make the ICU4JResourceConverter...
While `BreakIterator` provides great low-level functionality for iterating forward and backward through breaks, it would be great if there were a simple way to do forward-only operations on `string`, `StringBuilder`,...
[ICU4N.Dev.Test.Collate.CollationServiceTest::TestRegisterFactory()](https://github.com/NightOwl888/ICU4N/blob/7af8b8a7b752ba8ae7e2d3e8943af440519afff8/tests/ICU4N.Tests.Collation/Dev/Test/Collate/CollationServiceTest.cs#L239) is failing on Linux due to the `Collator.GetDisplayName(UCultureInfo)` method not returning the correct name for a custom `UCultureInfo` instance registered with `Collator.GetDisplayName()`. ### Impact The test is known to...