Exit script if problem with encoding occur.
information about revision numbers to html file - added