Encoding#match should check it's internal encoding for *, not the string being matched against