Skip to content

Commit

Permalink
Merge pull request peritor#11 from hayashima/fix-utf8
Browse files Browse the repository at this point in the history
fixed convert ascii-8bit to utf-8.
  • Loading branch information
kazuhisa committed Oct 17, 2013
2 parents ff5ae18 + 2879864 commit 53f97ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/webistrano/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Configuration < Capistrano::Configuration
def self.default_io_proc
Proc.new do |ch, stream, out|
level = stream == :err ? :important : :info
out = out.force_encoding("UTF-8")
ch[:options][:logger].send(level, out, "#{stream} :: #{ch[:server]}")
end
end
Expand Down

0 comments on commit 53f97ca

Please sign in to comment.