Hi,

In message "Re: [ruby-core:41344] Re: Wrong encoding of Symbol"
    on Mon, 28 Nov 2011 10:45:01 +0900, Nobuyoshi Nakada <nobu / ruby-lang.org> writes:

|What's wrong?

I think now I understand his concern:

a = :foo
p a.encoding      # => #<Encoding:US-ASCII>  (a)
b = "foo"
p b.encoding      # => #<Encoding:UTF-8>     (b)
c = "#{a}foo"
p c.encoding	  # => #<Encoding:US-ASCII>  (c)
d = "foo#{a}"
p d.encoding      # => #<Encoding:UTF-8>     (d)

(a) and (b), (c) and (d) are inconsistent.

							matz.