fixed bug where unicode characters would not parse

Temporary fix, ignores characters that it cannot parse in unicode.