Slicer/Slicer — pull request #212 by lassoan (2014-12-30 04:58:26+00:00)
Title: BUG: Fixed loading of DICOM image from files containing special characters

Got some DICOM files that contained a special character in the file names and in the patient name. Slicer failed to load them because lack of proper encoding before using them.

Solution:
* Encode strings to latin1 before using them in VTK set functions.
* Encode file names to a byte stream before sending them to hashlib.