Project

General

Profile

Actions

Bug #20984

closed

ENV.inspect is not encoding aware

Added by nobu (Nobuyoshi Nakada) 21 days ago. Updated 1 day ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:120414]

Description

$ ruby -e 'ENV.clear; ENV["\u{3042}"] = "a"; p ENV.inspect.encoding'
#<Encoding:BINARY (ASCII-8BIT)>
Actions #1

Updated by nobu (Nobuyoshi Nakada) 21 days ago

  • Status changed from Open to Closed

Applied in changeset git|19c39e4cfaa467e69b9848c9c5496d7f50d39c7f.


[Bug #20984] ENV.inspect should be encoding aware

Updated by nagachika (Tomoyuki Chikanaga) 5 days ago

  • Backport changed from 3.1: REQUIRED, 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED, 3.4: REQUIRED

Updated by k0kubun (Takashi Kokubun) 1 day ago

  • Backport changed from 3.1: REQUIRED, 3.2: DONE, 3.3: REQUIRED, 3.4: REQUIRED to 3.1: REQUIRED, 3.2: DONE, 3.3: DONE, 3.4: REQUIRED

ruby_3_3 commit:0d6459249d13e247cd0eae28f59ef51b862bce80 merged revision(s) 19c39e4cfaa467e69b9848c9c5496d7f50d39c7f.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0