Replace invalid unicode code points during parsing.