From 4191a6b90d3eeb63a31609dba29a1904efee3738 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 28 Sep 2015 02:40:46 +0000 Subject: preserve encodings in error messages git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- array.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'array.c') diff --git a/array.c b/array.c index 3a6e231a6e..44eaa20cfe 100644 --- a/array.c +++ b/array.c @@ -2170,10 +2170,11 @@ rb_ary_to_h(VALUE ary) long i; VALUE hash = rb_hash_new(); for (i=0; i