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
writeXML for charset ISO 2022 IR 13 or ISO 2022 IR 149
Moderator: Moderator Team
-
- Posts: 10
- Joined: Tue, 2013-01-29, 12:11
-
- DCMTK Developer
- Posts: 2512
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: writeXML for charset ISO 2022 IR 13 or ISO 2022 IR 149
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).
I would recommend to convert the DICOM dataset to UTF-8 before writing the XML document (with the encoding specified explicitly).
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 1 guest