From: Luis Lavena Date: 2010-09-14T23:35:12+09:00 Subject: Re: Encoding error while installing rails on ruby 1.9.2 On Sep 14, 10:57 am, Brian Candler wrote: > Benoit Daloze wrote: > > AFAIK, with 1.8, he would just get unreadable characters in his > > terminal > > Given that the error messages from ruby are themselves readable, it's a > fair bet that IBM737 is at least ASCII-compatible. > This is what Roger Pack asked on Ruby core about IBM737 > > P.S.: Why `gem` is trying to convert from UTF-16LE ? > > I wondered that too. > > But more importantly, why is the locale's default_encoding significant? > Is it reading files from the filesystem without specifying the locale > (or binary mode)? If so that's a "bug" in rubygems, but it's the > language which makes these bugs occur. Excellent question, seems to me that is trying to parse some gemspec contents (my guess) Complete output of "gem install xxx --debug -V" will be great to have when chcp is set to 737 -- Luis Lavena