Mercurial > hg > orthanc
diff OrthancServer/FromDcmtkBridge.cpp @ 1557:ad1e127b4ed5
fix in encodings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 Aug 2015 17:29:42 +0200 |
parents | f967bdf8534e |
children | bd1889029cbb |
line wrap: on
line diff
--- a/OrthancServer/FromDcmtkBridge.cpp Thu Aug 20 17:05:05 2015 +0200 +++ b/OrthancServer/FromDcmtkBridge.cpp Thu Aug 20 17:29:42 2015 +0200 @@ -122,7 +122,7 @@ Encoding FromDcmtkBridge::DetectEncoding(DcmDataset& dataset) { // By default, Latin1 encoding is assumed - std::string s = Configuration::GetGlobalStringParameter("DefaultEncoding", ""); + std::string s = Configuration::GetGlobalStringParameter("DefaultEncoding", "Latin1"); Encoding encoding = s.empty() ? Encoding_Latin1 : StringToEncoding(s.c_str()); OFString tmp;