From ff40eb360e8a8ffe8a8fd8da991845c3ce6756f2 Mon Sep 17 00:00:00 2001 From: timholy Date: Wed, 20 Nov 2013 17:54:53 -0600 Subject: [PATCH] Fix #54. Oddly, this is something we were already testing for, and the tests worked. But in a different context it generated an error. You have entered the twilight zone...(creepy music) --- src/plain.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plain.jl b/src/plain.jl index 932c3edb0..85b5a5e38 100644 --- a/src/plain.jl +++ b/src/plain.jl @@ -1020,6 +1020,7 @@ function read{S<:ByteString}(obj::DatasetOrAttribute, ::Type{Array{S}}) close(objtype) end memtype_id = h5t_copy(H5T_C_S1) + h5t_set_cset(memtype_id, cset(S)) if isempty(sz) ret = Array(S, 0) else