Browse files

align file name with content encoding

  • Loading branch information...
1 parent 766bb8e commit 49f59657bb3dccb71e13e3f39f817e9e1b478831 @ryenus committed May 19, 2012
Showing with 6 additions and 6 deletions.
  1. +3 −3 test/JRUBY_6606/dir-j.rb
  2. +3 −3 test/JRUBY_6606/dir-js.rb
View
6 test/JRUBY_6606/dir-j.rb
@@ -1,6 +1,6 @@
-# encoding: Shift_JIS
+# encoding: EUC-JP
Dir.chdir(File.dirname __FILE__) do
- Dir.entries('res/‚ ‚¢').each{|n| p n unless n == '.' || n == '..'}
- Dir.foreach('res/‚ ‚¢') {|n| p n unless n == '.' || n == '..'}
+ Dir.entries('res/¤¢¤¤').each{|n| p n unless n == '.' || n == '..'}
+ Dir.foreach('res/¤¢¤¤') {|n| p n unless n == '.' || n == '..'}
end
View
6 test/JRUBY_6606/dir-js.rb
@@ -1,6 +1,6 @@
-# encoding: EUC-JP
+# encoding: Shift_JIS
Dir.chdir(File.dirname __FILE__) do
- Dir.entries('res/¤¢¤¤').each{|n| p n unless n == '.' || n == '..'}
- Dir.foreach('res/¤¢¤¤') {|n| p n unless n == '.' || n == '..'}
+ Dir.entries('res/‚ ‚¢').each{|n| p n unless n == '.' || n == '..'}
+ Dir.foreach('res/‚ ‚¢') {|n| p n unless n == '.' || n == '..'}
end

0 comments on commit 49f5965

Please sign in to comment.