Page MenuHomePhabricator

DICOM reader fails if path contains UTF8 characters
Closed, WontfixPublic

Description

Trying to read DICOM files from directory like

"Ganzkörper" or "SerieXXX-20°-Drehung" fails (at least) on Windows 7 using the ExtApp, both file open and drag and drop. Console output says "File not found" and shows the wrong interpreted utf8 characters.

Event Timeline

I've tested it on linux as well, and can confirm that it really works. I will look for an windows machine.

I know that we have calls to set the locale to "C" in multiple places, one of them the DicomSeriesReader:

http://mitk.org/git/?p=MITK.git&a=search&h=HEAD&st=grep&s=setlocale

This was done to work around an error which would mis-interpret "numbers" such as "1.5" just because the current locale has a "," character as the decimal separator. (DICOM always uses the ".", never cares for the locale.

If this locale-change is part of the problem, a fix would probably be required in ITK or GDCM (I don't remember the exact location of the numbers mis-interpretation error).

Updating target milestone to upcoming release

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.