This should actually be a `String.respond_to?(:encoding)` right?