usa 3e8c0c577c The encoding of __FILE__ and __dir__ should be same
* ruby.c (process_options): convert the real path of the script to locale
  encoding if its encoding is not locale (maybe UTF-8) on Windows/OS X.
  this change makes the encoding of __dir__ to the same encoding of __FILE__
  when the script name is passed from commandline.

* test/ruby/test_options.rb (test___dir__encoding): test for this change.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 15:43:05 +00:00
..
2017-10-08 07:00:01 +00:00
2017-09-07 03:24:08 +00:00
2017-10-21 14:22:04 +00:00
2017-09-15 17:42:00 +00:00
2017-10-21 14:35:19 +00:00
2017-09-28 02:51:41 +00:00
2017-10-03 12:06:14 +00:00
2017-09-15 16:56:16 +00:00
2017-09-24 16:26:22 +00:00
2017-10-19 05:10:38 +00:00
2017-10-21 12:34:13 +00:00
2017-10-06 13:41:37 +00:00
2017-10-21 13:34:19 +00:00