Mercurial > hg > orthanc
diff UnitTestsSources/DicomMapTests.cpp @ 3217:cf8cbeb35f33
preliminary support of Korean character set
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 13 Feb 2019 17:46:12 +0100 |
parents | 304184684107 |
children | 109631ed3564 |
line wrap: on
line diff
--- a/UnitTestsSources/DicomMapTests.cpp Tue Feb 12 17:27:33 2019 +0100 +++ b/UnitTestsSources/DicomMapTests.cpp Wed Feb 13 17:46:12 2019 +0100 @@ -425,7 +425,7 @@ const unsigned char raw[] = { 0x63, 0x72, 0xe2, 0x6e, 0x65 }; std::string latin1((char*) &raw[0], sizeof(raw) / sizeof(char)); - std::string utf8 = Toolbox::ConvertToUtf8(latin1, Encoding_Latin1); + std::string utf8 = Toolbox::ConvertToUtf8(latin1, Encoding_Latin1, false); ParsedDicomFile dicom(false); dicom.SetEncoding(Encoding_Latin1);