Convert a String consisting of only characters in the ASCII
block to a byte sequence. Any character with a codepoint above
U+007F is replaced by U+0000.
Convert a String consisting of only characters representable by
ISO-8859-1. These are encoded with ISO-8859-1. Any character with a
codepoint above U+00FF is replaced by an unspecified byte.