dsr2html and charsets

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
jerzy_cz
Posts: 25
Joined: Mon, 2007-10-22, 14:59
Location: Poznan, Poland

dsr2html and charsets

#1 Post by jerzy_cz »

Hello, is it possible for dsr2html to create charset header information?
I have a file with latin-2 charactrs:
(0008,0005) CS [ISO-IR 101]
When I use dsr2html I have to include metaheader manually:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
so the browser can display east european characters properly.

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

It would work as expected if the value of the Specific Character Set (0008,0005) element would be correct (i.e. "ISO_IR 101" instead of "ISO-IR 101"). Of course, you could also specify the character set to be used manually on the command line (using "--charset-assume latin-2").

jerzy_cz
Posts: 25
Joined: Mon, 2007-10-22, 14:59
Location: Poznan, Poland

#3 Post by jerzy_cz »

Thanks for your reply, it works now.

Post Reply

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 1 guest