From: Martin Duerst Date: 2009-01-14T18:11:36+09:00 Subject: [ruby-core:21341] Re: [Bug #956] Encoding: nl_langinfo(CODESET) on cygwin 1.5 always returns US-ASCII At 03:11 09/01/13, you wrote: >Hi, > >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. We can leave it at that, or we can fix it. Regards, Martin. #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst@it.aoyama.ac.jp