test_rubyoptions.rb: workaround

* test/ruby/test_rubyoptions.rb (test_command_line_glob_nonascii):
  workaround for other than cp932.  [ruby-dev:48752] [Bug #10555]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2014-11-30

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby.c: translit_char_bin

* ruby.c (translit_char_bin): should not use code page dependent
  CharNext on UTF-8 string.  [ruby-dev:48752] [Bug #10555]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby.c: transcode program names

* ruby.c (process_options, ruby_script): transcode script name and
  program name to locale encoding as well as argv.
  [ruby-dev:48752] [Bug #10555]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e