* win32/win32.c (cmdglob): use inline function.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby.c: use UTF-8 for loadpath as the fallback

* ruby.c (ruby_init_loadpath_safe): encode loadpaths in UTF-8 on
  Windows.  [ruby-core:62002] [Bug #9737]

* ruby.c (process_options): try encode loadpaths to locale
  encoding from UTF-8 if possible, on Windows.
ruby.c: UTF-8 argv

* ruby.c (process_options): convert argv from UTF-8.