[storescp] ISO_IR 101 to WIN1250

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
micdob89
Posts: 6
Joined: Mon, 2015-02-02, 11:40

[storescp] ISO_IR 101 to WIN1250

#1 Post by micdob89 »

Hello Everybody,

Today I noticed a potential problem when using storescp:

1. Modality device is set to use Latin 2 for communication with PACS.
2. At some point storescp is doing conversion into WIN1250(ANSI) and because of that looses six characters: ś, Ś, ą, Ą, ź, Ź which is normal when doing conversion between these two charsets.

Is there a way (other than postprocessing storescp output files) to solve that issue?

I will be very grateful for any tips how to handle that issue.

Greetings
Michal

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: [storescp] ISO_IR 101 to WIN1250

#2 Post by J. Riesmeier »

The tool storescp does not perform any character set conversion. I guess that you are referring to the console output, right?

micdob89
Posts: 6
Joined: Mon, 2015-02-02, 11:40

Re: [storescp] ISO_IR 101 to WIN1250

#3 Post by micdob89 »

Thank you for quick reply. I assumed that the tool itself doesn't do it. On console output there aren't any national letter displayed correctly but it's normal.

The problem is that every *.wl file generated by storescp looks like converted from Latin 2 to ANSI 1250. The letters I mentioned in my first post are replaced with some symbols.

I just don't have idea where the conversion is done.

Greetings

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: [storescp] ISO_IR 101 to WIN1250

#4 Post by J. Riesmeier »

The problem is that every *.wl file generated by storescp looks like converted from Latin 2 to ANSI 1250.
The tool storescp does not generate any *.wl files. Are you talking about Modality Worklist Management?

micdob89
Posts: 6
Joined: Mon, 2015-02-02, 11:40

Re: [storescp] ISO_IR 101 to WIN1250

#5 Post by micdob89 »

Sorry, I messed files. Doing a lot of DICOM stuff recenty...

I meant dcm files saved by storescp containing DICOM image.

J. Riesmeier
DCMTK Developer
Posts: 2504
Joined: Tue, 2011-05-03, 14:38
Location: Oldenburg, Germany
Contact:

Re: [storescp] ISO_IR 101 to WIN1250

#6 Post by J. Riesmeier »

OK, but as I said: storescp does not do any character set conversions. So, I'd guess that the conversion (if any) is done on the sender side (or somewhere in between).

You could also check with storescp's --bit-preserving (+B) option, which makes sure that the DICOM data is written to file as received via the network association (i.e. without any "data corrections" like removal of padding or sequence/item encoding).

micdob89
Posts: 6
Joined: Mon, 2015-02-02, 11:40

Re: [storescp] ISO_IR 101 to WIN1250

#7 Post by micdob89 »

Still nothing. It seems to me that modality device is sending corrupt files.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest