Actions
Bug #6820
closedTime#to_s on NEWS
ruby -v:
ruby 2.0.0dev (2012-08-01 trunk 36587) [x86_64-linux]
Backport:
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
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0