From: James Gray Date: 2009-04-02T07:05:24+09:00 Subject: [ruby-core:23101] Re: What all does -U do? On Mar 30, 2009, at 10:45 AM, James Gray wrote: > The -U switch isn't listed in Ruby's help (-h). > > The new Pickaxe says it just sets the default internal encoding to > UTF-8. However, matz hinted that it may affect the default external > encoding as well, here: > > http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/19552 > > Can I get the official list of everything it changes please? Thanks! As near as I can tell from various tests, it only affects Encoding.default_internal() as the Pickaxe says. James Edward Gray II