TST: use default utf8 encoding when passing encoding to parser as Bytes (GH5141)
Merge pull request #5149 from jreback/sparc_fix3

TST: use default utf8 encoding when passing encoding to parser as Bytes (GH5141)
BUG: convert replacement tuples to lists

This fixes a bug that makes it appear as if replace is incorrectly using
regular expressions.