LEADTOOLS Support
Medical
Medical SDK Questions
Failed to read Chinese characters from dicom file using ISO_IR 6 Character set
#1
Posted
:
Wednesday, August 28, 2019 9:54:27 PM(UTC)
Groups: Registered
Posts: 21
When I try to read Chinese character in a Dicom file(see attchment 1.dcm zipped in 1.zip) using ISO_IR 6 Character set, the return string with unintelligible code. If I open the dcm file using some hex editor(for example:UltraEditor),I can see Chinese characters in related field offset. Following is the repro code:
Quote: DicomDataSet ds = new DicomDataSet();
ds.Load(@"D:\1.dcm", DicomDataSetLoadFlags.None);
DicomElement element = ds.FindFirstElement(null, DicomTag.InstitutionName, false);
if (element != null)
{
string institutionName = ds.GetStringValue(element, 0);
System.Console.WriteLine(institutionName);
}
File Attachment(s):
1.zip (73kb) downloaded 40 time(s).
LEADTOOLS Support
Medical
Medical SDK Questions
Failed to read Chinese characters from dicom file using ISO_IR 6 Character set
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.