diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-26 09:55:15 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-26 09:55:15 +0200 |
commit | c73a4c3be6c42fb405004193502b4aec960ab63f (patch) | |
tree | d27448d259dd65208ccc3dec43584e816abab742 | |
parent | 42d8668174d1f6a11632af7a424017b0691c7fb5 (diff) | |
download | taginfo-c73a4c3be6c42fb405004193502b4aec960ab63f.tar taginfo-c73a4c3be6c42fb405004193502b4aec960ab63f.tar.gz |
Force ruby external encoding to UTF-8.
-rw-r--r-- | web/config.ru | 2 |
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' |