From: Nobuyoshi Nakada Date: 2009-01-15T11:03:23+09:00 Subject: [ruby-core:21358] Re: [Bug #956] Encoding: nl_langinfo(CODESET) on cygwin 1.5 always returns US-ASCII Hi, At Wed, 14 Jan 2009 18:11:36 +0900, Martin Duerst wrote in [ruby-core:21341]: > >At Sat, 10 Jan 2009 02:35:50 +0900, > >Tom Link wrote in [ruby-core:21239]: > >> A proper solution should IMHO check for LANG first and use > >> the windows locale only if LANG isn't defined -- as proposed > >> by Martin. > > > >It's working so. > > That's not true. Currently, Encoding.default_external defaults > to US-ASCII if LANG is not set on cygwin, not to the windows > locale encoding. Sorry, I'd missed to commit it. -- Nobu Nakada