Mercurial > hg > orthanc
diff OrthancServer/FromDcmtkBridge.h @ 1695:18c02c6987d5
fix for encodings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 Oct 2015 14:34:19 +0200 |
parents | 06d579e82bb8 |
children | a001f6226c7c |
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.h Thu Oct 08 13:49:20 2015 +0200 +++ b/OrthancServer/FromDcmtkBridge.h Thu Oct 08 14:34:19 2015 +0200 @@ -124,11 +124,13 @@ static void FillElementWithString(DcmElement& element, const DicomTag& tag, - const std::string& value, - bool interpretBinaryTags); + const std::string& utf8alue, // Encoded using UTF-8 + bool interpretBinaryTags, + Encoding dicomEncoding); static DcmElement* FromJson(const DicomTag& tag, - const Json::Value& element, - bool interpretBinaryTags); + const Json::Value& element, // Encoding using UTF-8 + bool interpretBinaryTags, + Encoding dicomEncoding); }; }