array.c (array_join): copy the encoding of the first element as an initial encoding.
array.c (array_join_0): ditto.
array.c (array_join_1): ditto.
array.c (inspect_ary): ditto.
array.c (array_join_1): add an argument to check the appending is first one or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
array.c (array_join): copy the encoding of the first element as
an initial encoding.
array.c (array_join_0): ditto.
array.c (array_join_1): ditto.
array.c (inspect_ary): ditto.
array.c (array_join_1): add an argument to check the appending is
first one or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e