Specific character set
Moderator: Moderator Team
Specific character set
Hi !
In enum DSRTypes::E_CharacterSet ,There is not one type of Specific character set for chinese.Could you tell me how should I do to create a sr document with chinese? I have read part 5,but forgiving my dullness,I still don't kown how to do. Thank your so much!
In enum DSRTypes::E_CharacterSet ,There is not one type of Specific character set for chinese.Could you tell me how should I do to create a sr document with chinese? I have read part 5,but forgiving my dullness,I still don't kown how to do. Thank your so much!
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
I'm sorry but I don't understand your question. CS_ASCII can only be used for 7-bit ASCII characters (i.e. no special characters like you need for Chinese).I use this:doc->setSpecificCharacterSetType(DSRTypes::CS_ASCII);
It can be displayed in chinese. So I want to known that is this suitable?
If you don't know what UTF-8 is, read this. In order to learn how different character sets are used in DICOM, read the relavant sections of part 5 of the DICOM standard.If not ,Can you tell me how to use UTF-8?
Thank you for reply
I created a SR document(filename is report.dcm) with
doc->setSpecificCharacterSetType(DSRTypes::CS_ASCII);
then in command line use this:dsr2html +H4 report.dcm report.html .
In the report.html ,It was displayed in chinese. Can you tell me what's wrong with it ?
I will read the material you gave to me.Thanks again!
Best Regards,
Candy
I created a SR document(filename is report.dcm) with
doc->setSpecificCharacterSetType(DSRTypes::CS_ASCII);
then in command line use this:dsr2html +H4 report.dcm report.html .
In the report.html ,It was displayed in chinese. Can you tell me what's wrong with it ?
I will read the material you gave to me.Thanks again!
Best Regards,
Candy
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest