Encode::decode(utf8 => $binary_data) # from binmode filehandle