do not delete options.encoding;
removed trailing spaces;