don't force utf-8 when sub is run on a unicode string. this fixes unicodedecodeerror when we have a match in a unicode string containing non ascii chars.