Actions
Bug #4380
closedEncoding of result string for String#gsub! is not consistent for BINARY
Bug #4380:
Encoding of result string for String#gsub! is not consistent for BINARY
Description
=begin
When String#gsub! is called on a string in BINARY encoding the encoding may be changed to the replacement encoding.
Attached is a test patch.
=end
Files
Actions