How to fix Cyrillic characters encoding?

Hi.
I have Orthanc with default orthanc.json values. When some modalities send images, i see PatientName C@3;O:>20 ;5=0^3>@52=0. Is it possible to fix it without changing modality properties? This PatientName written in Cyrillic and dicom doesn’t have SpecificCharacterSet. I tried orthanc.json - “DefaultEncoding” : “Utf8 and “DefaultEncoding” : “Cyrillic””
What property should we set in orthanc.json and modalities to be able to send tags in Latin and Cyrillic?
Thanks

Hi @sssss

Without a sample file, we can not analyze anything.

Alain

here is anonymized dicom

The DICOM file is clearly badly formatted since any DICOM tools shows the same invalid PatientName and it contains no SpecificCharacterSet.

This is the PatientName in binary and I have no idea what it is supposed to look like in Cyrillic since I don’t have a clue about the used encoding.

10 31 38 3b 3e 32 30 5e 11 30 33 38 3b 30 10

Note that, once you know the encoding, you might be able to fix the file when it is ingested in Orthanc with this kind of Lua script.