Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Web UI: Set the default encoding to UTF-8
  • Loading branch information
elubow authored and defunkt committed Sep 22, 2011
1 parent 5bc1086 commit 560450e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/resque/server.rb
Expand Up @@ -4,6 +4,10 @@
require 'resque/version'
require 'time'

if defined? Encoding
Encoding.default_external = Encoding::UTF_8
end

module Resque
class Server < Sinatra::Base
dir = File.dirname(File.expand_path(__FILE__))
Expand Down

0 comments on commit 560450e

Please sign in to comment.