Stopped more variable parsing errors occuring with weird characters.