aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-05-26 09:55:15 +0200
committerJochen Topf <jochen@topf.org>2014-05-26 09:55:15 +0200
commitc73a4c3be6c42fb405004193502b4aec960ab63f (patch)
treed27448d259dd65208ccc3dec43584e816abab742 /web
parent42d8668174d1f6a11632af7a424017b0691c7fb5 (diff)
downloadtaginfo-c73a4c3be6c42fb405004193502b4aec960ab63f.tar
taginfo-c73a4c3be6c42fb405004193502b4aec960ab63f.tar.gz
Force ruby external encoding to UTF-8.
Diffstat (limited to 'web')
-rw-r--r--web/config.ru2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/config.ru b/web/config.ru
index ee31f15..b220816 100644
--- a/web/config.ru
+++ b/web/config.ru
@@ -2,6 +2,8 @@
# For use with Phusion Passenger
#
+Encoding.default_external = 'UTF-8'
+
require 'sinatra'
require './taginfo.rb'
require 'json'