From: Brian Candler Date: 2011-05-22T18:35:47+09:00 Subject: Re: Array.index with utf-8 Misha Ognev wrote in post #1000176: >> Post 5 lines or less of code that demonstrates the problem. > > pos = d.index(@buttonarray[i].get_value)+1 STDERR.puts "d.encoding=#{d.encoding}" STDERR.puts "value.encoding=#{@buttonarray[i].get_value.encoding}" -- Posted via http://www.ruby-forum.com/.