On Wed, Jun 24, 2009 at 8:28 AM, Eric Hodel<drbrain / segment7.net> wrote:
> On Jun 23, 2009, at 02:23, Run Paint Run Run wrote:
>>>
>>> * Should the encoding for ENV be the locale encoding?
>>> * assigned to naruse.
>>
>> Could you clarify this proposal? That Encoding.find('locale') should
>> be influenced by Encoding.locale_charmap?
>
> I think, what should:
>
> puts ENV['PATH'].encoding
>
> output?

Ah, thanks! I see that it currently returns ASCII-8BIT, which doesn't
seem to make sense. It's certainly reasonable to expect that a user's
locale encoding will mirror that of his environment variables.

-- 
Run Paint Run Run