Remove trailing whitespace
Ignore UnicodeDecodeError related issues while encoding/decoding
webpages