Project

General

Profile

Actions

Bug #6820

closed

Time#to_s on NEWS

Added by no6v (Nobuhiro IMAI) over 11 years ago. Updated about 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-08-01 trunk 36587) [x86_64-linux]
Backport:
[ruby-core:<unknown>]

Description

=begin
The Time section on NEWS file says an encoding of Time#to_s respects Encoding.default_internal,
but r33094 says it is always US-ASCII. I guess NEWS file is incorrect.
See also #5226.

$ ruby -E:utf-8 -ve 'p Encoding.default_internal, Time.now.to_s.encoding'
ruby 2.0.0dev (2012-08-01 trunk 36587) [x86_64-linux]
#Encoding:UTF-8
#Encoding:US-ASCII
=end


Files

Time-on-NEWS.patch (914 Bytes) Time-on-NEWS.patch no6v (Nobuhiro IMAI), 01/06/2013 11:20 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0