lexer: accept newlines as possible comment chars
convert test file encodings to utf-8