Project

General

Profile

Bug #4381

Encoding of result is not consistent for String#[]=

Added by drbrain (Eric Hodel) over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.3dev (2011-02-07 trunk 30814) [x86_64-darwin10.6.0]
Backport:
[ruby-core:35142]

Description

=begin
The encoding may be changed to a compatible encoding by rb_enc_check().

If this is a feature the documentation should be updated.
=end


Files

test_string.rb.aset_encoding.patch (656 Bytes) test_string.rb.aset_encoding.patch Test to illustrate encoding changing drbrain (Eric Hodel), 02/08/2011 05:11 AM

History

#1

Updated by naruse (Yui NARUSE) over 8 years ago

  • Status changed from Open to Assigned
  • Assignee set to naruse (Yui NARUSE)

=begin

=end

#2

Updated by naruse (Yui NARUSE) over 8 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r30881.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Add a test for the encoding of str_aset. [ruby-core:35142]
=end

Also available in: Atom PDF