diff OrthancServer/Internals/DicomFrameIndex.cpp @ 1928:84c7eaeb5244

Configuration::GetDefaultEncoding
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Mar 2016 14:12:31 +0100
parents 6c73df12ca51
children cda5b0ab4ce5
line wrap: on
line diff
--- a/OrthancServer/Internals/DicomFrameIndex.cpp	Mon Mar 21 13:31:56 2016 +0100
+++ b/OrthancServer/Internals/DicomFrameIndex.cpp	Mon Mar 21 14:12:31 2016 +0100
@@ -36,6 +36,7 @@
 #include "../../Core/OrthancException.h"
 #include "../../Core/DicomFormat/DicomImageInformation.h"
 #include "../FromDcmtkBridge.h"
+#include "../OrthancInitialization.h"
 #include "DicomImageDecoder.h"
 
 #include <boost/lexical_cast.hpp>
@@ -376,7 +377,8 @@
 
     // Extract information about the image structure
     DicomMap tags;
-    FromDcmtkBridge::Convert(tags, dataset);
+    FromDcmtkBridge::Convert(tags, dataset,
+                             Configuration::GetDefaultEncoding());
 
     DicomImageInformation information(tags);