[DRE-commits] [ruby-em-http-request] 07/09: add default encoding utf8
Jonas Genannt
jonas at brachium-system.net
Thu Feb 27 09:35:28 UTC 2014
This is an automated email from the git hooks/post-receive script.
hggh-guest pushed a commit to branch master
in repository ruby-em-http-request.
commit b0171ecea1b97a6fdfcd351d90b65ee52fab395d
Author: Jonas Genannt <jonas at brachium-system.net>
Date: Thu Feb 27 10:31:53 2014 +0100
add default encoding utf8
---
debian/patches/change_mongrel_to_webrick.patch | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/patches/change_mongrel_to_webrick.patch b/debian/patches/change_mongrel_to_webrick.patch
index c4b1a00..93665ed 100644
--- a/debian/patches/change_mongrel_to_webrick.patch
+++ b/debian/patches/change_mongrel_to_webrick.patch
@@ -4,7 +4,17 @@ Forwarded: not-needed
--- a/spec/stallion.rb
+++ b/spec/stallion.rb
-@@ -53,7 +53,7 @@ module Stallion
+@@ -2,6 +2,9 @@
+ # Includes portion originally Copyright (C)2008 Michael Fellinger
+ # license See file LICENSE for details
+ # #--
++Encoding.default_external = "UTF-8"
++Encoding.default_internal = "UTF-8"
++
+
+ require 'rack'
+
+@@ -53,7 +56,7 @@ module Stallion
def self.run(options = {})
options = {:Host => "127.0.0.1", :Port => 8090}.merge(options)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-em-http-request.git
More information about the Pkg-ruby-extras-commits
mailing list