Skip to content

Commit

Permalink
実行時のエンコーディングオプション、つけるとcygwinで化け、外すとMacで化ける
Browse files Browse the repository at this point in the history
  • Loading branch information
pokutuna committed Apr 21, 2011
1 parent 3e897cc commit 5a995ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ desc 'exec each class file with classpath'
file :exec => @classes do
@classes.sort.each do |c|
p = File.split(c)
sh "java -cp #{p[0]} -Dfile.encoding=UTF-8 #{p[1].sub(/\.class$/, '')} || echo failed!"
sh "java -cp #{p[0]} #{p[1].sub(/\.class$/, '')} || echo failed!"
STDIN.gets
end
end
Expand Down

0 comments on commit 5a995ee

Please sign in to comment.