handle invalid UTF-8 data with an actual error
fix input buffer overrun when lexing decimal numbers