Mercurial > hg > orthanc
comparison OrthancServer/ParsedDicomFile.cpp @ 1091:a66224eec125
encoding tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Aug 2014 12:28:55 +0200 |
parents | e494ceb8d763 |
children | ba5c0908600c |
comparison
equal
deleted
inserted
replaced
1090:e494ceb8d763 | 1091:a66224eec125 |
---|---|
1263 | 1263 |
1264 case Encoding_Hebrew: | 1264 case Encoding_Hebrew: |
1265 s = "ISO_IR 138"; | 1265 s = "ISO_IR 138"; |
1266 break; | 1266 break; |
1267 | 1267 |
1268 /* | 1268 case Encoding_Japanese: |
1269 case Encoding_Japanese: | 1269 s = "ISO_IR 13"; |
1270 s = "ISO_IR 13"; | 1270 break; |
1271 break; | 1271 |
1272 */ | 1272 case Encoding_Chinese: |
1273 s = "GB18030"; | |
1274 break; | |
1273 | 1275 |
1274 case Encoding_Thai: | 1276 case Encoding_Thai: |
1275 s = "ISO_IR 166"; | 1277 s = "ISO_IR 166"; |
1276 break; | 1278 break; |
1277 | 1279 |
1278 default: | 1280 default: |
1279 throw OrthancException(ErrorCode_ParameterOutOfRange); | 1281 throw OrthancException(ErrorCode_ParameterOutOfRange); |
1280 } | 1282 } |
1281 | 1283 |
1282 Replace(DICOM_TAG_SPECIFIC_CHARACTER_SET, "", DicomReplaceMode_InsertIfAbsent); | 1284 Replace(DICOM_TAG_SPECIFIC_CHARACTER_SET, s, DicomReplaceMode_InsertIfAbsent); |
1283 } | 1285 } |
1284 | 1286 |
1285 } | 1287 } |