From: mdiam <Maurice.Diamantini / gmail.com>
Subject: Re: Bug with Ruby/Tk encoding (ruby-1.9.1-rc1)
Date: Thu, 8 Jan 2009 17:09:54 +0900
Message-ID: <761cba1a-8f93-4d25-b110-7bcc80a60b92 / z27g2000prd.googlegroups.com>
> Your are right, I had inserted some comments for debugging
> (without success).

I see.

> /home/.../ruby-1.9.1-rc1/lib/ruby/1.9.1/tk.rb:3022:in `find':
>      unknown encoding name -  (ArgumentError)

The line is 
-------------------------------------------------------------
  loc_enc_obj = ::Encoding.find(::Encoding.locale_charmap)
-------------------------------------------------------------

It means that "Encoding.locale_charmap" returns an empty string.
Though I believed that this line gets current locale information, 
it may be wrong. 
I'll ask M17N maintainers about Encoding.locale_charmap.
Please give me a few days.
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)