encoding utf8, trailing newline