DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Wed, 2017-11-22, 22:55

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon, 2013-07-22, 10:55 
Offline

Joined: Tue, 2013-01-29, 12:11
Posts: 10
Hi

I am trying to write DCMDirectoryRecord Object into XML ,which has ISO 2022 IR 13 (i.e Japanese ) or ISO 2022 IR 149(i.e Korean ) Patient Name using WriteXML API.
It add some junk values into it and am not able to parse that XML.

I wanted to know Is these character set are supported in DCMTK write XML ??
If not what are other option to write into XML

Regards,
Deepak Kamboj


Top
 Profile  
 
PostPosted: Mon, 2013-07-22, 13:47 
Offline
DCMTK Developer

Joined: Tue, 2011-05-03, 14:38
Posts: 1874
Location: Oldenburg, Germany
The character set encoding is neither changed nor specified explicitly by the writeXML() API. This has to be done by the application. The command line tool dcm2xml for example supports a couple of character encodings (but not the ones you are asking for). See documentation for details.

I would recommend to convert the DICOM dataset to UTF-8 before writing the XML document (with the encoding specified explicitly).


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group