[ruby-core:123909] [Ruby Bug#21709] Inconsistent encoding by Regexp.escape