nroduit / Weasis

Weasis is a DICOM viewer available as a desktop application or as a web-based application.
https://nroduit.github.io
Other
828 stars 295 forks source link

Cyrillic search returns "UNKNOWN" names #495

Closed Aztks closed 12 months ago

Aztks commented 12 months ago

Describe the bug. What happened?

I get name "UNKNOWN" in search from the PACS server (Orthanc) whenever the name is in Cyrillic. (The Cyrillic name is displayed correctly in Orthanc explorer.) Could this be fixed somehow?

What version of Weasis are you running?

4.2.0

On which system the problem occurs?

Linux

Relevant log output

No response

Additional contextual elements

image

nroduit commented 12 months ago

Please supply DICOM logs, see this page to activate the rolling log files.

In Weasis, when the name equals null, it is replaced by "UNKNOWN". There is no known encoding problem for Q/R. Have you tried another Q/R tool?

Aztks commented 12 months ago

default.log

Here's a log. Whats q/r? You may notice the cyrillic name is properly written in the log - "БАКСИ", but it doesn't show in the search result - it shows as UNKNOWN.

Aztks commented 12 months ago

Resolved - changed the default encoding in the config of Orthanc to UTF8 (it was default Latin1).

Aztks commented 12 months ago

.

nroduit commented 12 months ago

Also the metadata seem to not fully consistent:

23.11.2023 10:10:23.961 *WARN* [Image Downloader-pool-11-thread-1] org.weasis.dicom.codec.utils.DicomMediaUtils: Inconsistent Patient ID + Issuer of Patient ID between DICOM objets: 0218UNKNOWN and 0218БАКСИ