in reply to Sensing of Null character
My solution as already mentions was to use a regex to remove the beastie.