Skip to content

Commit 44227a9

Browse files
committed
address the feedback
1 parent d90795d commit 44227a9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/core/extensions/globalization-icu.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,13 @@ This must be done for all the ICU binaries for the supported runtimes. Also, the
257257

258258
By default, when using ICU on Linux, .NET attempts to load the latest installed version of ICU from the system. However, you can specify a specific version of ICU to load by setting the `DOTNET_ICU_VERSION_OVERRIDE` environment variable. Here's how it works:
259259

260-
- **Use the build-time ICU version**
261-
262-
When you set the environment variable to `build`, .NET uses the exact ICU version that was used during its build process. This version is typically defined in the ICU C header file `unicode/uvernum.h`, generated during ICU's build process. The version is determined by the constant [U_ICU_VERSION_MAJOR_NUM](https://github.com/microsoft/icu/blob/bfb7d6bd5b03d2f5322389d21efee8fd1a167269/icu/icu4c/source/common/unicode/uvernum.h#L56) in the header file.
263-
264260
- **Specify a custom ICU version**
265261

266262
If the environment variable is set to a specific version number, such as `67.1`, .NET attempts to load that version of ICU. For example, .NET looks for the libraries `libicuuc.so.67.1` and `libicui18n.so.67.1`.
267263

264+
> [!NOTE]
265+
> This environment variable is only supported on .NET portable builds that are not obtained from Linux distribution package feeds.
266+
268267
- **Fallback mechanism**
269268

270269
If the specified version isn't found, .NET falls back to loading the highest installed ICU version from the system.

0 commit comments

Comments
 (0)