Test that File.basename preserves the encoding of the original.
Test that File.basename preserves the encoding of the original.

See https://github.com/jruby/jruby/pull/3877

wied03/rubyspec,sgarciac/spec,kachick/rubyspec,sgarciac/spec,eregon/rubyspec,ruby/rubyspec,eregon/rubyspec,sgarciac/spec,wied03/rubyspec,nobu/rubyspec,kachick/rubyspec,ruby/spec,eregon/rubyspec,nobu/rubyspec,ruby/spec,kachick/rubyspec,ruby/rubyspec,nobu/rubyspec,wied03/rubyspec,ruby/spec