
11 Jun
2024
11 Jun
'24
6:59 p.m.
Issue #20280 has been updated by peterzhu2118 (Peter Zhu). I opened a PR for backport to 3.3: https://github.com/ruby/ruby/pull/10967 ---------------------------------------- Bug #20280: Error at invalid encoding symbols https://bugs.ruby-lang.org/issues/20280#change-108797 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED ---------------------------------------- Parsing an invalid encoding symbol raises an `EncodingError`. It must be a `SyntaxError`. https://github.com/ruby/ruby/pull/10014 -- https://bugs.ruby-lang.org/