From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2025-02-14T05:29:49+00:00 Subject: [ruby-core:121036] [Ruby master Bug#20984] ENV.inspect is not encoding aware Issue #20984 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.1: REQUIRED, 3.2: DONE, 3.3: DONE, 3.4: REQUIRED to 3.1: REQUIRED, 3.2: DONE, 3.3: DONE, 3.4: DONE ruby_3_4 commit:270129fdcb923654d9741465ec26e179507e8c96 merged revision(s) commit:19c39e4cfaa467e69b9848c9c5496d7f50d39c7f, commit:d78ff6a767ca813ac5fa178dd7611f20a993c191. ---------------------------------------- Bug #20984: ENV.inspect is not encoding aware https://bugs.ruby-lang.org/issues/20984#change-111944 * Author: nobu (Nobuyoshi Nakada) * Status: Closed * Backport: 3.1: REQUIRED, 3.2: DONE, 3.3: DONE, 3.4: DONE ---------------------------------------- ```console $ ruby -e 'ENV.clear; ENV["\u{3042}"] = "a"; p ENV.inspect.encoding' # ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/