changeset 2282:4e27c2a598d4

Fix issue #49 (Worklists: accentuated characters are removed from C-Find responses)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Jun 2017 17:57:42 +0200
parents e002430baa41
children 2a15186ca28a
files NEWS OrthancServer/Search/HierarchicalMatcher.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Fri Jun 09 16:14:52 2017 +0200
+++ b/NEWS	Fri Jun 09 17:57:42 2017 +0200
@@ -17,6 +17,7 @@
 * Ability to retrieve raw frames encoded as unsigned 32-bits integers
 * Fix issue 35 (AET name is not transferred to Orthanc using DCMTK 3.6.0)
 * Fix issue 44 (Bad interpretation of photometric interpretation MONOCHROME1)
+* Fix issue 49 (Worklists: accentuated characters are removed from C-Find responses)
 
 
 Version 1.2.0 (2016/12/13)
--- a/OrthancServer/Search/HierarchicalMatcher.cpp	Fri Jun 09 16:14:52 2017 +0200
+++ b/OrthancServer/Search/HierarchicalMatcher.cpp	Fri Jun 09 17:57:42 2017 +0200
@@ -333,7 +333,7 @@
                                                       dicom.GetEncoding()));
 
     std::auto_ptr<ParsedDicomFile> result(new ParsedDicomFile(*dataset));
-    result->SetEncoding(Encoding_Utf8);
+    result->ChangeEncoding(Encoding_Utf8);
 
     return result.release();
   }