Hello, Hidetoshi!
You wrote  on Fri, 21 Nov 2003 02:04:10 +0900:

 ??>> I try to replace it with this for testing and debug purpose
 ??>>
 ??>>  puts Tk.encoding_convertto(TkComm::string(arg_val[idx]), enc)
 ??>>  puts Iconv.iconv('CP1251','UTF-8',TkComm::string(arg_val[idx]))
 ??>>  arg_cnv << Iconv.iconv('CP1251','UTF-8',TkComm::string(arg_val[idx]))
 ??>>
 ??>>  works right

 HN> Hmmm...
 HN> Could you try to replace
 HN> 'Tk.encoding_convertto(TkComm::string(arg_val[idx]), enc)'
 HN> to 'Tk.fromUTF8(TkComm::string(arg_val[idx]), enc)'?

Works right. Thanks a lot. Will this fix became official?

 HN> # Is the value of enc is 'cp1251'?

Yes, of course.

By the way, why such functions as
Tk.encoding_convertto
Tk.fromUTF8

are not described anywhere?

With best regards,
Nikolay Ponomarenko.