Hello Nobu, Many thanks for fixing it. I'm going to add some text from missing/langinfo.c to LICENSE (anybody, please tell me if that was wrong), and inform the author about the changes we made, and close the bug. Regards, Martin. At 11:03 09/01/15, Nobuyoshi Nakada wrote: >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 #-#-# Martin J. Du"rst, Assoc. Professor, Aoyama Gakuin University #-#-# http://www.sw.it.aoyama.ac.jp mailto:duerst / it.aoyama.ac.jp