[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Let's discuss big changes in Ruby packaging for squeeze+1



... and another small patch, setting the html encoding to utf-8, because
the gem info might contain utf-8 characters. See e.g. nokogiri.

Tobias
>From 049447d5b844e91e997939f134271ce223d7146e Mon Sep 17 00:00:00 2001
From: etobi <git@e-tobi.net>
Date: Mon, 10 May 2010 08:18:14 +0200
Subject: [PATCH 2/2] Set html encoding to utf-8

---
 gemwatch.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/gemwatch.rb b/gemwatch.rb
index 24c6c89..6bd67c8 100644
--- a/gemwatch.rb
+++ b/gemwatch.rb
@@ -143,6 +143,7 @@ __END__
 @@ layout
 %html
   %head
+    %meta{"http-equiv" => "content-type", :content => "text/html;charset=UTF-8"}
     %link{:rel => "stylesheet", :type => "text/css", :href => asset_url("/style.css")}
   %body{:class => @body_class}
     %div.wrap
-- 
1.7.1


Reply to: