diff OrthancServer/DicomModification.cpp @ 1695:18c02c6987d5

fix for encodings
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Oct 2015 14:34:19 +0200
parents f967bdf8534e
children d78b87f93bcf
line wrap: on
line diff
--- a/OrthancServer/DicomModification.cpp	Thu Oct 08 13:49:20 2015 +0200
+++ b/OrthancServer/DicomModification.cpp	Thu Oct 08 14:34:19 2015 +0200
@@ -136,12 +136,12 @@
   }
 
   void DicomModification::Replace(const DicomTag& tag,
-                                  const std::string& value,
+                                  const std::string& utf8Value,
                                   bool safeForAnonymization)
   {
     removals_.erase(tag);
     privateTagsToKeep_.erase(tag);
-    replacements_[tag] = value;
+    replacements_[tag] = utf8Value;
 
     if (!safeForAnonymization)
     {