White spaces must be a bytes string.

Also, extend the set of white spaces with those defined by Unicode.