From: Misha Ognev Date: 2011-05-22T17:58:24+09:00 Subject: Re: Array.index with utf-8 > Also, state what version of ruby you are using. 1.9.2 > Post 5 lines or less of code that demonstrates the problem. pos = d.index(@buttonarray[i].get_value)+1 I have a big system with a diary, IO, wxRuby et.c. I can't send you code you understand in 5 strokes. > Are you sure that your file is really saved in UTF-8? Under Russian Windows, for example, the standard Notepad will save it either in CP1251... File in UTF-8, all works with it fine. Only index function is worng -- Posted via http://www.ruby-forum.com/.