require 'rspec' describe 'Japanese' do subject {'日本語'} it {should == '日本語'} end # 実行結果(エラーになる) $ rspec encoding_spec.rb /Users/mypc/.rvm/gems/ruby-1.9.3-p194/gems/rspec-core-2.11.1/lib/rspec/core/configuration.rb:780:in `load': /Users/mypc/dev/sandbox/encoding_spec.rb:4: invalid multibyte char (US-ASCII) (SyntaxError) /Users/mypc/dev/sandbox/encoding_spec.rb:4: invalid multibyte char (US-ASCII) /U