Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, August 28, 2019 9:54:27 PM(UTC)
devinzhu

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 37 time(s).
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.046 seconds.