# HG changeset patch # User Alain Mazy # Date 1771520625 -3600 # Node ID 338a3ba0baf4a889f1607e9d03016d6524df8252 # Parent e0540311207e2106717becaf2ee458dfed3164c5 Fix issue 255: /tools/reset fails to restart server with error 'Internal error: Cannot initialize ICU: U_INVALID_FORMAT_ERROR' diff -r e0540311207e -r 338a3ba0baf4 NEWS --- a/NEWS Thu Feb 19 18:01:32 2026 +0100 +++ b/NEWS Thu Feb 19 18:03:45 2026 +0100 @@ -43,6 +43,8 @@ "1234", "_1234" and "%1234" as the same PatientID. * libcurl: Enabling IPv6 if linking statically https://github.com/orthanc-server/orthanc-builder/issues/33 +* Fix /tools/reset fails to restart server with error "Internal error: Cannot initialize ICU: U_INVALID_FORMAT_ERROR" + https://orthanc.uclouvain.be/bugs/show_bug.cgi?id=255 * Upgraded dependencies for static builds: - boost 1.89.0 - dcmtk 3.7.0 diff -r e0540311207e -r 338a3ba0baf4 OrthancFramework/Sources/Toolbox.cpp --- a/OrthancFramework/Sources/Toolbox.cpp Thu Feb 19 18:01:32 2026 +0100 +++ b/OrthancFramework/Sources/Toolbox.cpp Thu Feb 19 18:03:45 2026 +0100 @@ -2059,6 +2059,9 @@ #if (ORTHANC_ENABLE_ICU == 1) u_cleanup(); +# if ORTHANC_STATIC_ICU == 1 + globalIcuData_.clear(); +# endif #endif }