Fixed some errors

Fixed the unicode error, and the download resumption error.