From: Tom Link Date: 2008-12-31T01:08:46+09:00 Subject: [ruby-core:20994] [Bug #956] Encoding: nl_langinfo(CODESET) on cygwin 1.5 always returns US-ASCII Bug #956: Encoding: nl_langinfo(CODESET) on cygwin 1.5 always returns US-ASCII http://redmine.ruby-lang.org/issues/show/956 Author: Tom Link Status: Open, Priority: Normal It seems you cannot rely on nl_langinfo(CODESET) to return the proper charset on cygwin as it appears to always return US-ASCII no matter what. IMHO the configure script should not only check for the availability of langinfo but also for its functionality as it seems to currently be a dummy function under cygwin. Please see also http://groups.google.com/group/comp.lang.ruby/msg/42d92ae740d12a5f?hl=en ---------------------------------------- http://redmine.ruby-lang.org