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