Back to Dotnet

Readme

src/libraries/System.Private.CoreLib/Tools/GenUnicodeProp/Readme.md

11.0.1001.4 KB
Original Source

This folder contains the program used to generate the Unicode character categories file CharUnicodeInfoData.cs.

Before running this tool, ensure the following are all in sync:

Once this has been configured, from this directory, invoke:

dotnet run

If you want to include casing data (simple case mappings + case folding) in the generated file, execute:

dotnet run -- -IncludeCasingData

Then move the generated CharUnicodeInfoData.cs file to $(LIBRARIESROOT)/System.Private.CoreLib/src/System/Globalization, overwriting the file in that directory, and commit it. DO NOT commit the file to this directory.

Update other components

  • Follow the instructions to update the Unicode data in RegularExpressions library.
  • Follow the instructions to update the Unicode data in System.Text.Encodings.Web library.