Search found 7 matches
- Wed, 2023-11-29, 03:41
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
Re: FindSCU Chinese Unicode problem
Thank you, my problem has been resolved. I don't need to modify the DCMTK source code now. I will perform encoding conversion before passing in the query conditions, and the code is as follows OFCharacterEncoding encoding; encoding.selectEncoding("","UTF-8"); OFString patientName...
- Tue, 2023-11-28, 02:26
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
Re: FindSCU Chinese Unicode problem
Now I can correctly display the C-FIND response dataset containing Chinese content. My problem is that I cannot set the query criteria for Chinese For example, there is a patient data named "张三" in my worklist, and I am currently unable to find any data through the following two methods, w...
- Mon, 2023-11-27, 11:42
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
Re: FindSCU Chinese Unicode problem
Sorry, ISO-IR 192 is a spelling error in my post. In my code, I actually wrote dataset ->convertCharacterSet ("ISO_IR 192", "GB18030") I cannot obtain correct patient information by specifying (00080005) as either ISO_IR 192 or GB18030 I have modified the DCMTK source code by add...
- Mon, 2023-11-27, 04:05
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
Re: FindSCU Chinese Unicode problem
Thank you. After selecting "DCMTK-ENABLE-CHARSET-CONVERSION" and then calling dataset ->convertCharacterSet ("ISO-IR 192", "GB18030"), I can display Chinese correctly. I have two more questions 1. Why ISO_ IR 192 cannot display Chinese correctly 2. How should I search f...
- Fri, 2023-11-24, 03:02
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
Re: FindSCU Chinese Unicode problem
Yes, I chose WITH_LIBICONVINC when compiling DCMTK using CMake.But still unable to correctly convert character encoding. The obtained patient's Chinese name is garbled code.I don't know where the problem is.Here are my compiling options, and I have sent a few pictures https://qjzy886.oss-cn-beijing....
- Thu, 2023-11-23, 04:38
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
Re: FindSCU Chinese Unicode problem
I added the -- extract xml parameter, which can display Chinese correctly in the exported XML file. However, I hope to obtain the patient's Chinese name through encoding. I called dataset ->convertToUTF8(), but the call failed with the error message 'No Character encoding library available'.The pati...
- Fri, 2023-11-17, 13:15
- Forum: DCMTK - General
- Topic: FindSCU Chinese Unicode problem
- Replies: 12
- Views: 88285
FindSCU Chinese Unicode problem
I am a beginner in dicom.I compiled DCMTK using CMake GUI on Windows. The CMake version is 3.26.5. During compilation, I selected WITH_LIBICONVINC, and there were no errors reported. After compiling, I executed the findscu.exe with the query command: findscu.exe -v -aet asdasd -aec DICOM -d 192.168....