diff --git a/.travis.yml b/.travis.yml index f0d203c..2df2416 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,6 @@ os: - linux - osx julia: - - 0.4 + - 0.5 notifications: email: false diff --git a/src/DICOM.jl b/src/DICOM.jl index 2643baa..0e5f99c 100644 --- a/src/DICOM.jl +++ b/src/DICOM.jl @@ -286,7 +286,7 @@ function element(st, evr, dcm) sz = read(st,lentype) data = - vr=="ST" || vr=="LT" || vr=="UT" ? bytestring(read(st, UInt8, sz)) : + vr=="ST" || vr=="LT" || vr=="UT" ? string(read(st, UInt8, sz)) : sz==0 || vr=="XX" ? Any[] :