Skip to content

Commit 560450e

Browse files
elubowdefunkt
authored andcommitted
Web UI: Set the default encoding to UTF-8
1 parent 5bc1086 commit 560450e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/resque/server.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
require 'resque/version'
55
require 'time'
66

7+
if defined? Encoding
8+
Encoding.default_external = Encoding::UTF_8
9+
end
10+
711
module Resque
812
class Server < Sinatra::Base
913
dir = File.dirname(File.expand_path(__FILE__))

0 commit comments

Comments
 (0)