Please use a with_feature :encoding guard here instead of a version guard. That better matches the behavior since it's encoding related.