Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greek Characters not displayed properly #627

Open
lukaic1 opened this issue Jan 30, 2025 · 4 comments
Open

Greek Characters not displayed properly #627

lukaic1 opened this issue Jan 30, 2025 · 4 comments

Comments

@lukaic1
Copy link

lukaic1 commented Jan 30, 2025

Describe the bug. What happened?

I have been using your dicom viewer with great joy!! Thank you!!
My problem is that in query the name of the patients written with Greek characters (specific character set = ISO_IR 126) are displayed with question marks, where names written with English characters (ISO_IR 100) are displayed properly. The error occurs only in query, as soon as i retrieve the images and open the exam everything is displayed properly, both Greek and Latin characters!
So, i don't know which patient to retrieve. Can you take a look please??

Thank you in advance for your great work.

What version of Weasis are you running?

4.5.1

On which system the problem occurs?

Windows

Relevant log output

Additional contextual elements

No response

@nroduit
Copy link
Owner

nroduit commented Jan 31, 2025

Weasis reads DICOM fields according to the encoding in the file or transmitted. If there is no charset, then ISO_IR 100 is used as defined by the standard.

The problem may lie with the server, which is not sending back the response encoding, see dcm4che/dcm4che#1075 and #495.

@lukaic1
Copy link
Author

lukaic1 commented Feb 1, 2025

Thank you for your quick reply, if that was the case shouldn't be happening in Radiant dicom viewer also ?? (i use both viewers depending on where i have to access an exam)
Some years ago, with another PACS setup, i had a similar problem and informed the radiant software team, they added the option to set a custom search character set for each PACS location and the problem was resolved.

https://www.radiantviewer.com/dicom-viewer-forum/russian-text-display-in-the-program/806/

Once again thank you for taking the time to help me.

@lukaic1
Copy link
Author

lukaic1 commented Feb 5, 2025

I have contacted the developers of the PACS software about the problem.
Their reply was:
All our programs in their responses to C-Find requests, return the charset (tag 0008,0005), whether the client requests it or not (you can see this from the program log).
The solution is on the client side, to check the tag 0008,0005.

I enabled logging in Weasis and checked the log file but i did not find the above mentioned tag.
I have attached the PACS log file that the PACS developer have send to me and the log file of Weasis.

My goal is to make Greek characters usable when q/r and not to offend you in anyway by comparing your viewer with other viewers. If i did, please accept my apologies and once again thank you for taking the time to help me.

Image

default.log

@nroduit
Copy link
Owner

nroduit commented Feb 7, 2025

I've looked into forcing a specific encoding during C-Find but unfortunately this isn't done in Weasis but in the dcm4che toolkit and there's no way of changing this value.

If the above answer is applied, it should work. However, in the logs there is no SpecificCharacterSet transmitted by the server:

(0008,0020) DA [20250131] StudyDate
(0008,0030) TM [111358] StudyTime
(0008,0050) SH [ACCNO002236] AccessionNumber
(0008,0052) CS [STUDY] QueryRetrieveLevel
(0008,0061) CS [CR] ModalitiesInStudy
(0008,0090) PN [] ReferringPhysicianName
(0008,1030) LO [] StudyDescription
(0010,0010) PN [ÊÏÕÊÏÕËÉÁÓ ÂÁÓÉËÅÉÏÓ] PatientName
(0010,0020) LO [************] PatientID
(0010,0021) LO [] IssuerOfPatientID
(0010,0030) DA [20080415] PatientBirthDate
(0010,0040) CS [M] PatientSex
(0020,000D) UI [1.2.840.113564.176.131.254.170.1.150.20250131111024830.10020] 
(0020,0010) SH [] StudyID
(0020,1206) IS [] NumberOfStudyRelatedSeries
(0020,1208) IS [1] NumberOfStudyRelatedInstances

A correct response is:

(0008,0005) CS [ISO_IR 192] SpecificCharacterSet
(0008,0052) CS [STUDY] QueryRetrieveLevel
(0008,0054) AE [DICOMSERVER] RetrieveAETitle
(0010,0010) PN [Richardson^Erica^^Mrs] PatientName
(0010,0020) LO [PAT014] PatientID
(0020,000D) UI [1.2.826.0.1.3680043.11.119] StudyInstanceUID
(0020,1206) IS [2] NumberOfStudyRelatedSeries

If the charset isn't in the response, can we be sure that it's really being transmitted by the server, as it works correctly with several other PACS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants