changeset 87:c769a1351d6f default tip

fix
author Alain Mazy <am@orthanc.team>
date Wed, 10 Sep 2025 14:32:24 +0200
parents e3202f8f3db8
children
files Framework/DownloadArea.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/DownloadArea.cpp	Tue May 20 10:11:13 2025 +0200
+++ b/Framework/DownloadArea.cpp	Wed Sep 10 14:32:24 2025 +0200
@@ -57,7 +57,7 @@
 
       if (!stream_.good())
       {
-        throw Orthanc::OrthancException(Orthanc::ErrorCode_CannotWriteFile, std::string("Unable to write to ") + f.GetPath());
+        throw Orthanc::OrthancException(Orthanc::ErrorCode_CannotWriteFile, std::string("Unable to write to ") + Orthanc::SystemToolbox::PathToUtf8(f.GetPath()));
       }
     }