[ruby-core:68279] [Ruby trunk - Bug #10887] Time#zone encoding is ASCII-8BIT instead of intended US-ASCII

From: naruse@...
Date: 2015-02-24 08:46:53 UTC
List: ruby-core #68279
Issue #10887 has been updated by Yui NARUSE.

Backport changed from 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: REQUIRED to 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE

ruby_2_2 r49719 merged revision(s) 49693,46907,49702,49710.

----------------------------------------
Bug #10887: Time#zone encoding is ASCII-8BIT instead of intended US-ASCII
https://bugs.ruby-lang.org/issues/10887#change-51637

* Author: Benoit Daloze
* Status: Closed
* Priority: Normal
* Assignee: 
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: DONE
----------------------------------------
    $ ruby -ve 'p Time.now.zone.encoding'
    ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
    #<Encoding:ASCII-8BIT>

Per r46907 it was intended to be US-ASCII.

Already fixed by r49693, please backport to at least 2.2.



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next