I would investigate Convert::Binary::C
In reply to Re: unpacking mixed ascii & utf16 null termed strings by Anonymous Monk in thread unpacking mixed ascii & utf16 null termed strings by patcat88