added newline at end of file
improved management of charset and missing Date header.
translate newlines into <br> in the view layer