Made the validation code a little more lenient with unicode control characters, since Project Gutenberg sometimes uses them.