[ruby-cvs:55798] nobu:r48648 (trunk): win32.c: use UTF-8 for argv

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Nov 29 16:53:19 JST 2014


nobu	2014-11-29 16:53:17 +0900 (Sat, 29 Nov 2014)

  New Revision: 48648

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48648

  Log:
    win32.c: use UTF-8 for argv
    
    * ruby.c (ruby_set_argv): convert argv from UTF-8.
    * win32/win32.c (rb_w32_sysinit, cmdglob, w32_cmdvector): convert
      wide char command line to UTF-8 argv, and glob in UTF-8 so that
      metacharacters would match multibyte characters.
      [ruby-dev:48752] [Bug #10555]

  Modified files:
    trunk/ChangeLog
    trunk/ruby.c
    trunk/test/ruby/test_rubyoptions.rb
    trunk/win32/win32.c


More information about the ruby-cvs mailing list