[Open] IO#set_encoding without int_enc doesn't keep current internal encoding

Issue #10417 has been reported by Usaku NAKAMURA.


Bug #10417: IO#set_encoding without int_enc doesn’t keep current
internal encoding

  • Author: Usaku NAKAMURA
  • Status: Open
  • Priority: Normal
  • Assignee:
  • Category: core
  • Target version: current: 2.2.0
  • ruby -v: -
  • Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN