# HG changeset patch # User Sebastien Jodogne # Date 1432126736 -7200 # Node ID e4fe732609147930772b16da72049cf9a5c81317 # Parent 8d103f6d08bd27c79c0dd872a62d810a1b801415 fix diff -r 8d103f6d08bd -r e4fe73260914 Core/Dicom.cpp --- a/Core/Dicom.cpp Wed May 20 12:59:01 2015 +0200 +++ b/Core/Dicom.cpp Wed May 20 14:58:56 2015 +0200 @@ -265,7 +265,7 @@ } std::string tmp(data->GetPointer(), data->GetLength()); - StripSpaces(tmp); + tmp = StripSpaces(tmp); return GetDicomEncoding(tmp.c_str()); } @@ -313,7 +313,7 @@ result = ConvertToUtf8(tmp, sourceEncoding); } - StripSpaces(result); + result = StripSpaces(result); return true; }