From: Adam Prescott Date: 2011-09-09T20:37:46+09:00 Subject: [ruby-core:39423] Re: [Ruby 1.9 - Bug #5287] 1.9.3 - Interpolation in a string causes the string's encoding to be set to ASCII-8BIT On Wed, Sep 7, 2011 at 12:20 AM, Adam Prescott wrote: > Since "#{a}" is actually a new string, doesn't it make sense that its > encoding should be the default internal encoding? I can see "#{a}" being > used with the encoding change actually expected. I guess "no" is the answer? What about "foo#{a}bar"? Would that have the same encoding result as "#{a}", or is the latter just a special case? (Either choice seems counterintuitive to me.)