[ruby-core:118399] [Ruby master Bug#20598] Corruption of internal encoding string