due to the `# encoding: utf-8` line, the literal string `"ASCII"` is UTF-8 encoded. Forcing the encoding to ASCII "works" but it think it would be better to do:

<pre>
str = "ASCII".encode(Encoding::ASCII)
</pre>