strip whitespace, remove zencoding