The MITK DICOM Browser crashes if you try to load a dicom file, that has a file path containing special characters.
Reason is that DicomEventHandler::OnSignalAddSeriesToDataManager uses QString::toStdString() to convert into an std::string. That may corrupt special characters and lead to GDCM failing when testing if it can read the file.
Potential solutions (after some web research):
- QString's toLocal8Bit().constData() (due to windows)
- std::codecvt and std::wstring_convert